Documentation ¶
Index ¶
Constants ¶
View Source
const ( OssName = "oss" SessionName = "session" Oauth2Name = "oauth2" SmsName = "sms" MailName = "mail" DingName = "ding" CacheName = "cache" RedisName = "redis" QrcodeName = "qrcode" TokenName = "token" MysqlName = "mysql" LogName = "logger" MongoName = "mongo" RabbitmqName = "rabbitmq" Authenticator = "authenticator" )
View Source
const ConfigPrefix = "beego."
Variables ¶
View Source
var OrderInvokers = []invokerAttr{ {OssName}, {CacheName}, {DingName}, {Oauth2Name}, {SessionName}, {SmsName}, {MailName}, {QrcodeName}, {TokenName}, {MysqlName}, {LogName}, {RedisName}, {MongoName}, {RabbitmqName}, {Authenticator}, }
order invokers
Functions ¶
This section is empty.
Types ¶
type ConfigStore ¶
var Config *ConfigStore
global config
type Duration ¶
func (*Duration) UnmarshalText ¶
type Invoker ¶
type Invoker interface { // Init cfg returns parse cfg error. InitCfg(ds datasource.Datasource) error // Init Caller returns init caller error Run() error }
InvokerRegister
type InvokerFunc ¶
type InvokerFunc func() Invoker
Click to show internal directories.
Click to hide internal directories.