Documentation ¶
Index ¶
- type Counters
- type Engine
- func (m *Engine) Connect(request *protocol.Message, client *protocol.Client, conn protocol.Connection)
- func (m *Engine) Disconnect(request *protocol.Message, client *protocol.Client, conn protocol.Connection)
- func (m *Engine) GetClient(clientId uint32) *protocol.Client
- func (m *Engine) Handshake(request *protocol.Message, conn protocol.Connection) uint32
- func (m *Engine) NewClient(conn protocol.Connection) *protocol.Client
- func (m *Engine) Publish(request *protocol.Message, conn protocol.Connection)
- func (m *Engine) SubscribeClient(request *protocol.Message, client *protocol.Client)
- func (m *Engine) UnsubscribeClient(request *protocol.Message, client *protocol.Client)
- type Server
- type Validator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
func (*Engine) Disconnect ¶
func (*Engine) Publish ¶
func (m *Engine) Publish(request *protocol.Message, conn protocol.Connection)
func (*Engine) SubscribeClient ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) HandleRequest ¶
func (s *Server) HandleRequest(msges interface{}, conn protocol.Connection)
Click to show internal directories.
Click to hide internal directories.