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 GrpcServiceHandler ¶
type GrpcServiceHandler struct {
// contains filtered or unexported fields
}
GrpcServiceHandler for Cards API
func NewGrpcServiceHandler ¶
func NewGrpcServiceHandler(genCallback core.GrpcGenCallback, serviceInterface *GrpcServiceInterface) *GrpcServiceHandler
NewGrpcServiceHandler for Cards
func (*GrpcServiceHandler) GetCards ¶
func (s *GrpcServiceHandler) GetCards(ctx context.Context, req *pb.GetCardsRequest) (*pb.GetCardsResponse, error)
GetCards ...
func (*GrpcServiceHandler) RegisterServer ¶
func (s *GrpcServiceHandler) RegisterServer(ctx context.Context, server *grpc.Server)
RegisterServer registers the Cards gRPC service
type GrpcServiceInterface ¶
type GrpcServiceInterface struct {
GetCards func(ctx context.Context, req *pb.GetCardsRequest, client GetCardsClient) (*pb.GetCardsResponse, error)
}
GrpcServiceInterface for Cards
Click to show internal directories.
Click to hide internal directories.