Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
type DTOMessage ¶
type DTOMessage struct { Type string Data interface{} }
type Registry ¶
type Socket ¶
type Socket struct { ErrorLogger errorlogger.ErrorLogger Connection *Connection ID string }
func (*Socket) Emit ¶
func (s *Socket) Emit(dto *DTOMessage)
func (*Socket) ReadPump ¶
func (s *Socket) ReadPump(registry *Registry, readMessageHandler func(dto *DTOMessage))
Click to show internal directories.
Click to hide internal directories.