Documentation
¶
Index ¶
- type Client
- func (this *Client) Call(v []interface{}) []interface{}
- func (this *Client) Close(uint16)
- func (this *Client) Connect(fd uint16, s *network.Session)
- func (this *Client) Dial(addr string)
- func (this *Client) Heartbeat(uint16, uint16)
- func (this *Client) Message(fd uint16, sessionID uint16, body []byte)
- func (this *Client) Send(v []interface{})
- func (this *Client) SendCallBack(v []interface{}, callBack func(callRet interface{}))
- type Server
- func (this *Server) Close(fd uint16)
- func (this *Server) Connect(fd uint16, session *network.Session)
- func (this *Server) Heartbeat(fd uint16, sessionID uint16)
- func (this *Server) Message(fd uint16, sessionID uint16, body []byte)
- func (this *Server) Register(rcvr interface{})
- func (this *Server) RunFunc(m *methodType, args []reflect.Value) []interface{}
- func (this *Server) Start()
- type Service
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) SendCallBack ¶ added in v0.0.2
func (this *Client) SendCallBack(v []interface{}, callBack func(callRet interface{}))
Click to show internal directories.
Click to hide internal directories.