Skip to content

stackcats/socket.io-emitter-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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