service

package
v1.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 13, 2021 License: MIT Imports: 19 Imported by: 0

Documentation

Index

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 BuildCron

func BuildCron() (*gocron.Scheduler, error)

BuildCron /* *gocron.Scheduler

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL