Documentation ¶
Index ¶
- Variables
- type OrderService
- func (s *OrderService) CreateOrder(ctx context.Context, req *pb.CreateOrderRequest) (*pb.CreateOrderReply, error)
- func (s *OrderService) GetOrder(ctx context.Context, req *pb.GetOrderRequest) (*pb.GetOrderReply, error)
- func (s *OrderService) ListOrder(ctx context.Context, req *pb.ListOrderRequest) (*pb.ListOrderReply, error)
- func (s *OrderService) UpdateOrder(ctx context.Context, req *pb.UpdateOrderRequest) (*pb.UpdateOrderReply, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewOrderService)
ProviderSet is server providers.
Functions ¶
This section is empty.
Types ¶
type OrderService ¶
type OrderService struct { pb.UnimplementedOrderServer // contains filtered or unexported fields }
func NewOrderService ¶
func NewOrderService(oc *biz.OrderUseCase, logger log.Logger) *OrderService
func (*OrderService) CreateOrder ¶
func (s *OrderService) CreateOrder(ctx context.Context, req *pb.CreateOrderRequest) (*pb.CreateOrderReply, error)
func (*OrderService) GetOrder ¶
func (s *OrderService) GetOrder(ctx context.Context, req *pb.GetOrderRequest) (*pb.GetOrderReply, error)
func (*OrderService) ListOrder ¶
func (s *OrderService) ListOrder(ctx context.Context, req *pb.ListOrderRequest) (*pb.ListOrderReply, error)
func (*OrderService) UpdateOrder ¶
func (s *OrderService) UpdateOrder(ctx context.Context, req *pb.UpdateOrderRequest) (*pb.UpdateOrderReply, error)
Click to show internal directories.
Click to hide internal directories.