Documentation ¶
Overview ¶
begonia
begonia
begonia
begonia
begonia
begonia
begonia
begonia
begonia
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CallbackChan ¶
type CallbackChan = chan CallbackEntity
type CallbackEntity ¶
type CallbackEntity struct {
// contains filtered or unexported fields
}
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) KeepConnect ¶
func (cli *Client) KeepConnect()
type RemoteCallHandler ¶
type RemoteCallHandler struct {
// contains filtered or unexported fields
}
RemoteCallHandler 用来处理远程调用 接受的是center发来的请求
type RemoteService ¶
type RemoteService struct { Service string // contains filtered or unexported fields }
RemoteService 远程服务
func (RemoteService) FunAsync ¶
func (s RemoteService) FunAsync(f string) func(Callback, ...interface{})
FunAsync 返回一个异步函数
func (RemoteService) FunTest ¶
func (s RemoteService) FunTest(f string) RemoteFun
type RequestHandler ¶
type RequestHandler struct {
// contains filtered or unexported fields
}
RequestHandler 处理本地请求
type ResponseHandler ¶
type ResponseHandler struct {
// contains filtered or unexported fields
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.