Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterEchoHandler ¶
func RegisterEchoHandler(s server.Server, hdlr EchoHandler, opts ...server.HandlerOption) error
Types ¶
type EchoHandler ¶
type EchoService ¶
type EchoService interface {
Say(ctx context.Context, in *proto1.Request, opts ...client.CallOption) (*proto1.Response, error)
Hi(ctx context.Context, in *proto1.Request, opts ...client.CallOption) (*proto1.Response, error)
}
func NewEchoService ¶
func NewEchoService(name string, c client.Client) EchoService
Click to show internal directories.
Click to hide internal directories.