Documentation ¶
Overview ¶
Code generated by sysl DO NOT EDIT.
Code generated by sysl DO NOT EDIT.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetStuffClient ¶
type GetStuffClient struct {
PostStuff func(ctx context.Context, req *simple.PostStuffRequest) (*simple.Str, error)
}
GetStuff Client
type GrpcServiceHandler ¶
type GrpcServiceHandler struct {
// contains filtered or unexported fields
}
GrpcServiceHandler for SimpleGrpc API
func NewGrpcServiceHandler ¶
func NewGrpcServiceHandler(genCallback core.GrpcGenCallback, serviceInterface *GrpcServiceInterface, simpleSimpleService simple.Service) *GrpcServiceHandler
NewGrpcServiceHandler for SimpleGrpc
func (*GrpcServiceHandler) GetStuff ¶
func (s *GrpcServiceHandler) GetStuff(ctx context.Context, req *pb.GetStuffRequest) (*pb.GetStuffResponse, error)
GetStuff ...
func (*GrpcServiceHandler) RegisterServer ¶
func (s *GrpcServiceHandler) RegisterServer(ctx context.Context, server *grpc.Server)
RegisterServer registers the SimpleGrpc gRPC service
type GrpcServiceInterface ¶
type GrpcServiceInterface struct {
GetStuff func(ctx context.Context, req *pb.GetStuffRequest, client GetStuffClient) (*pb.GetStuffResponse, error)
}
GrpcServiceInterface for SimpleGrpc
Click to show internal directories.
Click to hide internal directories.