Documentation ¶
Index ¶
- Variables
- func GetAuth(app application.IApplication) (jwtauth.IAuth, error)
- func GetCacheAdapte(app application.IApplication) (storage.AdapterCache, error)
- func GetDefaultAppGorm(app application.IApplication) (*gorm.DB, error)
- func GetGinEngine(app application.IApplication) (*gin.Engine, error)
- func GetLogger(app application.IApplication) (logger.Logger, error)
- func NewApp(configPath string, envprefix string) (application.IApplication, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var App application.IApplication = application.NewConfig()
View Source
var Provider = wire.NewSet( GetDefaultAppGorm, GetCacheAdapte, GetGinEngine, GetLogger, config.Provider, )
Functions ¶
func GetAuth ¶
func GetAuth(app application.IApplication) (jwtauth.IAuth, error)
func GetCacheAdapte ¶
func GetCacheAdapte(app application.IApplication) (storage.AdapterCache, error)
func GetDefaultAppGorm ¶
func GetDefaultAppGorm(app application.IApplication) (*gorm.DB, error)
func GetGinEngine ¶
func GetGinEngine(app application.IApplication) (*gin.Engine, error)
func GetLogger ¶
func GetLogger(app application.IApplication) (logger.Logger, error)
func NewApp ¶
func NewApp(configPath string, envprefix string) (application.IApplication, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.