Documentation ¶
Index ¶
- type Service
- func (s Service) Get(ctx context.Context, req *orderpb.GetRequest) (order *orderpb.Order, err error)
- func (s Service) New(ctx context.Context, req *orderpb.NewRequest) (*orderpb.Order, error)
- func (s Service) Pay(ctx context.Context, req *orderpb.PayRequest) (order *orderpb.Order, err error)
- func (s Service) Return(ctx context.Context, req *orderpb.ReturnRequest) (order *orderpb.Order, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
func (Service) Get ¶
func (s Service) Get(ctx context.Context, req *orderpb.GetRequest) (order *orderpb.Order, err error)
Get Order by id
Click to show internal directories.
Click to hide internal directories.