Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InventoryServer ¶
type InventoryServer struct { pb.InventoryServiceServer // contains filtered or unexported fields }
func NewInventoryServer ¶
func (InventoryServer) AddItem ¶
func (s InventoryServer) AddItem(c context.Context, in *pb.ItemRequest) (*pb.Response, error)
func (InventoryServer) CheckItem ¶
func (s InventoryServer) CheckItem(c context.Context, in *pb.ItemRequest) (*pb.ItemAvailableResponse, error)
func (InventoryServer) RemoveItem ¶
func (s InventoryServer) RemoveItem(c context.Context, in *pb.ItemRequest) (*pb.Response, error)
Click to show internal directories.
Click to hide internal directories.