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" // SectionMysql is a sectoin name for mysql. SectionMysql = "web-mysql" // SectionRedis is a section name for redis. SectionRedis = "web-redis" // SectionQueueRedis is a section name for queue-redis. SectionQueueRedis = "web-queue-redis" // SectionQueueServer is a section name for queue-server. SectionQueueServer = "web-queue-server" // SectionQueueAliAmqp is a section name for queue-ali-amqp. SectionQueueAliAmqp = "web-queue-ali-amqp" // SectionQueueAliRocketMQ is a section name for ali-rocket-mq SectionQueueAliRocketMQ = "web-queue-ali-rocket-mq" // SectionOSSAli is a section name for oss-ali SectionOSSAli = "web-oss-ali" )
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.