Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewImpl, repo.ProviderSet)
ProviderSet is a provider set for wire
Functions ¶
This section is empty.
Types ¶
type IBiz ¶
type IBiz interface { // List serve caller to list all orders List(ctx contextx.Contextx, start, end int, user *user.Profile) (orders []*order.Info, err error) // GetByID serve caller to get an order info by id GetByID(ctx contextx.Contextx, id string, user *user.Profile) (info *order.Info, err error) // BookCar serve caller to book a car BookCar(ctx contextx.Contextx, id, projID string, user *user.Profile) (info *order.Booking, err error) // CancelBooking serve caller to cancel an order by order's id CancelBooking(ctx contextx.Contextx, id string, user *user.Profile) (err error) }
IBiz declare order service function
Click to show internal directories.
Click to hide internal directories.