Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ConfFileName defines config file name. ConfFileName = "./etc/app.ini" // SectionServer is a section name for grpc server. SectionServer = "web-server" // SectionLogger is a section name for logger. SectionLogger = "web-logger" // jwt is token vaild SectionJwt = "web-jwt" // SectionMysql is a sectoin name for mysql. SectionMysql = "web-mysql" // SectionRedis is a section name for redis. SectionRedis = "web-redis" )
Variables ¶
This section is empty.
Functions ¶
func LoadDefaultConfig ¶
func LoadDefaultConfig(application *vars.Application) error
LoadDefaultConfig loads config form cfg.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.