Documentation ¶
Index ¶
- func Call(srv string, port int, rpcname string, args interface{}, reply interface{}) error
- func ListenRPC(port int) error
- func NewSimpleRpc(host string, port int) proto.ISimpleRpc
- func Pub(srv string, port int, rpcname string, args interface{}, reply interface{}) error
- func Regiseter(rcvrs ...interface{}) error
- func TimeoutCoder(f func(interface{}) error, e interface{}, msg string) error
- type SimpleRpc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSimpleRpc ¶
func NewSimpleRpc(host string, port int) proto.ISimpleRpc
func TimeoutCoder ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.