Documentation ¶
Index ¶
- func NewCache(appConfig *config.AppConfig, log *logrus.Logger) *redis.Client
- func NewDatabase(appConfig *config.AppConfig, log *logrus.Logger) *gorm.DB
- func NewLogger(config *config.AppConfig) *logrus.Logger
- func NewMinio(appConfig *config.AppConfig, log *logrus.Logger) *minio.Client
- func NewRouter(config *config.AppConfig, userMiddleware *middleware.UserMiddleware, ...) *gin.Engine
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRouter ¶
func NewRouter( config *config.AppConfig, userMiddleware *middleware.UserMiddleware, adminMiddleware *middleware.AdminMiddleware, gateMiddleware *middleware.GateMiddleware, qrMiddleware *middleware.ScanQrMiddleware, userController *controller.UserController, authController *controller.AuthController, reservationController *controller.ReservationController, txController *controller.TransactionController, snapController *controller.SnapController, gateController *controller.ConfigController, seatController *controller.SeatController, ) *gin.Engine
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.