config

package
v0.0.0-...-367790f Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FreeCache *freecache.Cache

@todo Check is freecache without var FreeCache can be used global.

View Source
var GoCache *cache.Cache
View Source
var MyDB *gorm.DB

Functions

func InitConfAsset

func InitConfAsset(mainPath string, bytesContent []byte)

Then use example: viper.Get("cache.freecache.size")

func InitOtherConf

func InitOtherConf(settingPath string)

Path can be relative or absolute.

func InitReleaseConf

func InitReleaseConf(bytesContent []byte)

func MySqlInit

func MySqlInit()

func NewFreeCache

func NewFreeCache()

func NewGoCache

func NewGoCache()

Types

This section is empty.

Jump to

Keyboard shortcuts

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