socket.io library for golang, a realtime application framework.
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
libra82 opened this issue 8 months ago · comments
just like this: io.use((socket, next) => { const token = socket.handshake.auth.token; // ... });
io.use((socket, next) => { const token = socket.handshake.auth.token; // ... });
Is there a example for golang? Thank you!