Documentation ¶
Index ¶
- type OrderServer
- func (s *OrderServer) Create(ctx context.Context, in *order.CreateRequest) (*order.CreateResponse, error)
- func (s *OrderServer) CreateRevert(ctx context.Context, in *order.CreateRequest) (*order.CreateResponse, error)
- func (s *OrderServer) Detail(ctx context.Context, in *order.DetailRequest) (*order.DetailResponse, error)
- func (s *OrderServer) List(ctx context.Context, in *order.ListRequest) (*order.ListResponse, error)
- func (s *OrderServer) Paid(ctx context.Context, in *order.PaidRequest) (*order.PaidResponse, error)
- func (s *OrderServer) Remove(ctx context.Context, in *order.RemoveRequest) (*order.RemoveResponse, error)
- func (s *OrderServer) Update(ctx context.Context, in *order.UpdateRequest) (*order.UpdateResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OrderServer ¶
type OrderServer struct { order.UnimplementedOrderServer // contains filtered or unexported fields }
func NewOrderServer ¶
func NewOrderServer(svcCtx *svc.ServiceContext) *OrderServer
func (*OrderServer) Create ¶
func (s *OrderServer) Create(ctx context.Context, in *order.CreateRequest) (*order.CreateResponse, error)
func (*OrderServer) CreateRevert ¶
func (s *OrderServer) CreateRevert(ctx context.Context, in *order.CreateRequest) (*order.CreateResponse, error)
func (*OrderServer) Detail ¶
func (s *OrderServer) Detail(ctx context.Context, in *order.DetailRequest) (*order.DetailResponse, error)
func (*OrderServer) List ¶
func (s *OrderServer) List(ctx context.Context, in *order.ListRequest) (*order.ListResponse, error)
func (*OrderServer) Paid ¶
func (s *OrderServer) Paid(ctx context.Context, in *order.PaidRequest) (*order.PaidResponse, error)
func (*OrderServer) Remove ¶
func (s *OrderServer) Remove(ctx context.Context, in *order.RemoveRequest) (*order.RemoveResponse, error)
func (*OrderServer) Update ¶
func (s *OrderServer) Update(ctx context.Context, in *order.UpdateRequest) (*order.UpdateResponse, error)
Click to show internal directories.
Click to hide internal directories.