Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterService ¶
Types ¶
type Controller ¶
type Controller interface {
SearchOrders(ctx context.Context, customerID string, values controller.ValuesView) ([]model.Order, error)
GetReturnedOrders(ctx context.Context, values controller.ValuesView) ([]model.Order, error)
}
type Sender ¶
type Sender interface {
SendMessage(message broker_io.RequestMessage)
}
type Service ¶
type Service struct {
api.OrderDeliveryServer
// contains filtered or unexported fields
}
func (*Service) GetReturnedOrders ¶
func (s *Service) GetReturnedOrders(ctx context.Context, req *api.GetReturnedOrdersRequest) (*api.GetReturnedOrdersResponse, error)
func (*Service) SearchOrders ¶
func (s *Service) SearchOrders(ctx context.Context, req *api.SearchOrdersRequest) (*api.SearchOrdersResponse, error)
Click to show internal directories.
Click to hide internal directories.