Documentation
¶
Index ¶
- type Svc
- func (s *Svc) GetAllOrder(ctx context.Context, req *emptypb.Empty) (*order.OrderStatus, error)
- func (s *Svc) GetOrderById(ctx context.Context, req *order.GetOrderByIdRequest) (*order.Order, error)
- func (s *Svc) GetOrderByStatus(ctx context.Context, req *order.GetOrderByStatusRequest) (*order.OrderStatus, error)
- func (s *Svc) PlaceOrder(ctx context.Context, req *order.PlaceOrderRequest) (*order.PlaceOrderResponse, error)
- func (h *Svc) RegisterOrderService(srv *grpc.Server) error
- func (s *Svc) UpdateOrderStatus(ctx context.Context, req *order.UpdateOrderStatusRequest) (*order.Order, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Svc ¶
type Svc struct { order.UnimplementedOrderServiceServer // contains filtered or unexported fields }
func (*Svc) GetAllOrder ¶
func (*Svc) GetOrderById ¶
func (*Svc) GetOrderByStatus ¶
func (s *Svc) GetOrderByStatus(ctx context.Context, req *order.GetOrderByStatusRequest) (*order.OrderStatus, error)
func (*Svc) PlaceOrder ¶
func (s *Svc) PlaceOrder(ctx context.Context, req *order.PlaceOrderRequest) (*order.PlaceOrderResponse, error)
func (*Svc) RegisterOrderService ¶
RegisterService with grpc server.
func (*Svc) UpdateOrderStatus ¶
Click to show internal directories.
Click to hide internal directories.