Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Usecase ¶
type Usecase interface { GetMenuList(ctx context.Context, menuType string) ([]model.MenuItem, error) Order(ctx context.Context, request model.OrderMenuRequest) (model.Order, error) GetOrderInfo(ctx context.Context, request model.GetOrderInfoRequest) (model.Order, error) RegisterUser(ctx context.Context, request model.RegisterRequest) (model.User, error) Login(ctx context.Context, request model.LoginRequest) (model.UserSession, error) CheckSession(ctx context.Context, sessionData model.UserSession) (userID string, err error) }
func GetUsecase ¶
func GetUsecase(menuRepo menu.Repository, orderRepo order.Repository, userRepo user.Repository) Usecase
Click to show internal directories.
Click to hide internal directories.