Documentation ¶
Index ¶
- func OnInit(s core.IService, opt ...Option) (err error)
- func OnRegisterRpcData(d interface{}, sf func(d interface{}) ([]byte, error), ...)
- func Register(id string, f interface{}) (err error)
- func RegisterGO(id string, f interface{}) (err error)
- func RpcId() (rpcId string, err error)
- func UnRegister(id string, f interface{}) (err error)
- type IRpcClient
- type IRpcServer
- type Option
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OnRegisterRpcData ¶
func RegisterGO ¶
func UnRegister ¶
Types ¶
type IRpcClient ¶
type IRpcClient interface { Done() (err error) Call(_func string, params ...interface{}) (interface{}, error) CallNR(_func string, params ...interface{}) (err error) }
func NewRpcClient ¶
func NewRpcClient(sId, rId string) (clent IRpcClient, err error)
type IRpcServer ¶
Click to show internal directories.
Click to hide internal directories.