Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RpcConnector ¶
type RpcConnector struct {
// contains filtered or unexported fields
}
RpcConnector RPC连接器
func NewRpcConnector ¶
func NewRpcConnector(rpcServerAddr string) RpcConnector
NewRpcConnector 创建RPC连接器
type RpcPool ¶
type RpcPool struct {
// contains filtered or unexported fields
}
RpcPool RPC连接池
var Pool *RpcPool
func NewRpcPool ¶
func NewRpcPool(connector RpcConnector, config *RpcPoolConfig) *RpcPool
NewRpcPool 构造一个RPC连接池
Click to show internal directories.
Click to hide internal directories.