Documentation ¶
Index ¶
Constants ¶
View Source
const ( EMIT_TO_CLIENT = "server-event" RECEIVE_FROM_CLIENT = "client-event" )
Variables ¶
View Source
var ( Ready = make(chan int) ClientEvent = make(chan *common.Operation) PeerEvent = make(chan *common.PeerOperation) )
View Source
var ValueToEmit chan string
Functions ¶
func AcceptSocketIoConnectionOn ¶
func AcceptSocketIoConnectionOn(port int, cHandler connectionHandler, eHandler eventHandler)
func SendDocToClient ¶
func SendDocToClient(doc string)
Types ¶
Click to show internal directories.
Click to hide internal directories.