Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 308 Bytes

README.md

File metadata and controls

20 lines (15 loc) · 308 Bytes

socket.io-emitter-go

Go implementation of socket.io-emitter

Install

$ go get github.com/stackcats/socket.io-emitter-go

Example

opts := &emitter.Options{}
socket := emitter.NewEmitter(opts)
defer socket.Close()
socket.Broadcast().Emit("message", "Hello World")

License

MIT