Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAppRouter ¶
func NewAppRouter(initPublicRouterFunc []InitRouterGroupFunc, initPrivateRouterFunc []InitRouterGroupFunc, corsConfig cors.Config, appConfig *config.AppConfig, authConfig *config.AuthConfig, debugConfig *config.DebugConfig) (*gin.Engine, error)
Types ¶
type AdminHandler ¶
func NewAdminHandler ¶
func NewAdminHandler(adminUsecase usecase.AdminUsecase) AdminHandler
type InitRouterGroupFunc ¶
type InitRouterGroupFunc func(parentRouterGroup *gin.RouterGroup, middleware ...gin.HandlerFunc) error
func NewInitAdminRouterFunc ¶
func NewInitAdminRouterFunc(adminUsecase usecase.AdminUsecase) InitRouterGroupFunc
func NewInitUserRouterFunc ¶
func NewInitUserRouterFunc(userUsecase usecase.UserUsecase) InitRouterGroupFunc
type UserHandler ¶
func NewUserHandler ¶
func NewUserHandler(userUsecase usecase.UserUsecase) UserHandler
Click to show internal directories.
Click to hide internal directories.