Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Rpc ¶
type Rpc interface { NewRpcClient(cc grpc.ClientConnInterface) Stub_Func(ctx context.Context, opt ...grpc.CallOption) (interface{}, error) }
type RpcContext ¶
type RpcContext struct {
// contains filtered or unexported fields
}
func NewRpcContext ¶
func NewRpcContext(addrs []string, funcName string) *RpcContext
Click to show internal directories.
Click to hide internal directories.