Documentation ¶
Index ¶
- func BuildCache(config *model.ApplicationConfig, mysqlClient *gorm.DB) (*cache.ChainCache, error)
- func BuildColly(config *model.ApplicationConfig) (*colly.Collector, error)
- func BuildConfig() (*model.ApplicationConfig, error)
- func BuildCron() (*gocron.Scheduler, error)
- func BuildDatabase(config *model.ApplicationConfig) (*gorm.DB, error)
- func BuildHttp(apiController *controller.ApiController, config *model.ApplicationConfig) (*gin.Engine, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildCache ¶
func BuildCache(config *model.ApplicationConfig, mysqlClient *gorm.DB) (*cache.ChainCache, error)
BuildCache /* *cache.ChainCache
func BuildColly ¶
func BuildColly(config *model.ApplicationConfig) (*colly.Collector, error)
BuildColly /* *colly.Collector
func BuildConfig ¶
func BuildConfig() (*model.ApplicationConfig, error)
BuildConfig /* *model.ApplicationConfig
func BuildDatabase ¶
func BuildDatabase(config *model.ApplicationConfig) (*gorm.DB, error)
BuildDatabase /** *model.ApplicationConfig
func BuildHttp ¶
func BuildHttp(apiController *controller.ApiController, config *model.ApplicationConfig) (*gin.Engine, error)
BuildHttp /* *gin.Engine
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.