grpc

package
v0.0.0-...-a474e13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 1, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

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 (*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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL