Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterRpc1Handler ¶
func RegisterRpc1Handler(s server.Server, hdlr Rpc1Handler, opts ...server.HandlerOption) error
Types ¶
type Rpc1Handler ¶
type Rpc1Handler interface {
Say(context.Context, *srv1.HelloRequest, *srv1.HelloResponse) error
}
type Rpc1Service ¶
type Rpc1Service interface {
Say(ctx context.Context, in *srv1.HelloRequest, opts ...client.CallOption) (*srv1.HelloResponse, error)
}
func NewRpc1Service ¶
func NewRpc1Service(name string, c client.Client) Rpc1Service
Click to show internal directories.
Click to hide internal directories.