Documentation ¶
Index ¶
- type StoreGRPCHandler
- func (handler *StoreGRPCHandler) Destroy(ctx context.Context, model *pb.StoreIDModel) (*pb.StoreBoolResponse, error)
- func (handler *StoreGRPCHandler) Fetch(ctx context.Context, _ *pb.StoreEmptyRequest) (*pb.StoreRowsResponse, error)
- func (handler *StoreGRPCHandler) Show(ctx context.Context, model *pb.StoreIDModel) (*pb.StoreRowResponse, error)
- func (handler *StoreGRPCHandler) Store(ctx context.Context, model *pb.StoreNameModel) (*pb.StoreBoolResponse, error)
- func (handler *StoreGRPCHandler) Update(ctx context.Context, model *pb.StoreModel) (*pb.StoreBoolResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StoreGRPCHandler ¶
type StoreGRPCHandler struct { pb.UnimplementedStoreGRPCHandlerServer Svc contract.IStoreService }
func NewStoreGRPCHandler ¶
func NewStoreGRPCHandler(service contract.IStoreService) *StoreGRPCHandler
func (*StoreGRPCHandler) Destroy ¶
func (handler *StoreGRPCHandler) Destroy( ctx context.Context, model *pb.StoreIDModel, ) (*pb.StoreBoolResponse, error)
func (*StoreGRPCHandler) Fetch ¶
func (handler *StoreGRPCHandler) Fetch( ctx context.Context, _ *pb.StoreEmptyRequest, ) (*pb.StoreRowsResponse, error)
func (*StoreGRPCHandler) Show ¶
func (handler *StoreGRPCHandler) Show( ctx context.Context, model *pb.StoreIDModel, ) (*pb.StoreRowResponse, error)
func (*StoreGRPCHandler) Store ¶
func (handler *StoreGRPCHandler) Store( ctx context.Context, model *pb.StoreNameModel, ) (*pb.StoreBoolResponse, error)
func (*StoreGRPCHandler) Update ¶
func (handler *StoreGRPCHandler) Update( ctx context.Context, model *pb.StoreModel, ) (*pb.StoreBoolResponse, error)
Click to show internal directories.
Click to hide internal directories.