Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRouter ¶
func NewRouter( cfg *config.ApiConfig, h *HandlersGroup, m *middleware.Middleware, logger *zap.Logger, ) *gin.Engine
Types ¶
type HandlersGroup ¶
type HandlersGroup struct { Auth *auth.Handler Cat *category.Handler Cmn *common.Handler Tx *transaction.Handler User *user.Handler }
func NewHandlers ¶
Click to show internal directories.
Click to hide internal directories.