Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SingleConnRpcClient ¶
type SingleConnRpcClient struct {
sync.Mutex
RpcServer string
Timeout time.Duration
// contains filtered or unexported fields
}
func NewRpcClient ¶
func NewRpcClient(addr string) *SingleConnRpcClient
func (*SingleConnRpcClient) Call ¶
func (this *SingleConnRpcClient) Call(method string, args interface{}, reply interface{}) error
Click to show internal directories.
Click to hide internal directories.