Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GreeterRpcServerHandler ¶
type GreeterRpcServerHandler struct {
greeter.UnimplementedGreeterServiceServer
// contains filtered or unexported fields
}
func NewGreeterRpcServerHandler ¶
func NewGreeterRpcServerHandler(greeterSvc service.GreeterService) *GreeterRpcServerHandler
func (*GreeterRpcServerHandler) RegisterService ¶
func (srv *GreeterRpcServerHandler) RegisterService() rpc.HandlerFn
func (*GreeterRpcServerHandler) SayHello ¶
func (srv *GreeterRpcServerHandler) SayHello(ctx context.Context, req *greeter.SayHelloRequest) (*greeter.SayHelloReply, error)
Click to show internal directories.
Click to hide internal directories.