Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OrderRepository ¶
type OrderRepository interface { CreateOrder(context.Context, *pb.Order) (*pb.Order, error) GetOrderDetails(context.Context, *pb.GetOrderFilter) (*pb.GetOrderResponse, error) GetAllOrders(context.Context, *pb.GetOrdersRequest) (*pb.GetOrderResponse, error) SendOrder(context.Context, *pb.SendOrderRequest) (*stripe.PaymentLink, error) }
func NewOrderRepository ¶
func NewOrderRepository(db Store, ordQuery query.OrderQuery) OrderRepository
type Store ¶
Click to show internal directories.
Click to hide internal directories.