Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetConnect ¶
func (c *Client) GetConnect() *common.Connection
type Server ¶
type Server struct { OnConnStart func(conn *common.Connection) OnConnStop func(conn *common.Connection) // contains filtered or unexported fields }
func (*Server) GetConnMgr ¶
func (s *Server) GetConnMgr() *common.ConnManager
func (*Server) SetOnConnStart ¶
func (s *Server) SetOnConnStart(hookFunc func(*common.Connection))
func (*Server) SetOnConnStop ¶
func (s *Server) SetOnConnStop(hookFunc func(*common.Connection))
Click to show internal directories.
Click to hide internal directories.