googollee / go-socket.io

socket.io library for golang, a realtime application framework.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how to emit to the specific namespace

hosseinkhojany opened this issue · comments

How to handle like this:
socket.to(personId).emit('private message', {
username: socket.username,
message: data
});