package
Version:
v0.0.0-...-f84f93e
Opens a new window with list of versions in this module.
Published: May 30, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
*
* Created by Michael on 2016/8/5.
* web服务器与推送服务器通讯的RPC调用
*
*
type RPCClient struct {
Connected bool
}
serviceMethod 方法名字包括类名 eg: "Receiver.Receive"
args 传参数
reply 返回的数据结构,一定是指针
type RPCServer struct {
}
func (this *RPCServer) Register(rcvr interface{})
注册服务端方法,eg. server.Register(new(Receiver))
Source Files
¶
Click to show internal directories.
Click to hide internal directories.