Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterServer ¶
RegisterServer registers a service struct to a server
Types ¶
type MinionsService ¶
type MinionsService struct { }
func (*MinionsService) Eat ¶
func (s *MinionsService) Eat(ctx context.Context, req *proto.EatRequest) (*proto.EatResponse, error)
type TestService ¶
type TestService struct { }
TestService is the struct which implements generated interface
func (*TestService) SayHello ¶
func (s *TestService) SayHello(ctx context.Context, req *proto.SayHelloRequest) (*proto.SayHelloResponse, error)
SayHello is an example entry point
func (*TestService) TestJson ¶
func (s *TestService) TestJson(ctx context.Context, req *proto.TestJsonRequest) (*proto.TestJsonResponse, error)
Click to show internal directories.
Click to hide internal directories.