Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // LeaveOnInt quit server on int signal LeaveOnInt = true // LeaveOnTerm quit server on terminate signal LeaveOnTerm = true )
Functions ¶
This section is empty.
Types ¶
type ServerGeneralCfg ¶
ServerGeneralCfg general configure of service
type SrvcCfg ¶
type SrvcCfg struct { ServerGeneral ServerGeneralCfg Log log.Config Database database.DBConnectCfg WXCfg wx.ClientCfg ALiYunCfg aliyun.Config ImageCfg image.Config LocalFileSystem string BCAdapterCfg bcadapter.Config Redis RedisCfg }
SrvcCfg service configure
func GetServiceCfg ¶
GetServiceCfg returns the configurations for the service
Click to show internal directories.
Click to hide internal directories.