Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type M ¶
type M struct { Server struct { Port int `toml:"port"` RootPath string `toml:"rootPath"` ReqLimit int `toml:"reqLimit"` AccessTokenValidHour int `toml:"accessTokenValidHour"` TimeTokenValidMinute int `toml:"timeTokenValidMinute"` Domain string `toml:"domain"` AdminLoginValidHour int `toml:"adminLoginValidHour"` } `toml:"server"` Log struct { Level string `toml:"level"` RootPath string `toml:"rootPath"` AppFile string `toml:"appFile"` HttpFile string `toml:"httpFile"` MaxSize int `toml:"maxSize"` MaxBackups int `toml:"maxBackups"` MaxAge int `toml:"maxAge"` Compress bool `toml:"compress"` } `toml:"log"` Store struct { MainStore string `toml:"mainStore"` BackupStore string `toml:"backupStore"` RootPath string `toml:"rootPath"` IsEnableLocal bool `toml:"isEnableLocal"` IsEnableMemory bool `toml:"isEnableMemory"` CycleBakToLocalHour int `toml:"cycleBakToLocalHour"` } `toml:"store"` MySQL struct { Address string `toml:"address"` UserName string `toml:"userName"` Password string `toml:"password@cipher"` DbName string `toml:"dbName"` ConnMaxLifeTime int `toml:"connMaxLifeTime"` MaxIdleConn int `toml:"maxIdleConn"` MaxOpenConn int `toml:"maxOpenConn"` ConnMaxWaitTime string `toml:"connMaxWaitTime"` } `toml:"mysql"` PgSQL struct { Host string `toml:"host"` Port string `toml:"port"` UserName string `toml:"userName"` Password string `toml:"password@cipher"` DbName string `toml:"dbName"` } `toml:"pgsql"` }
type NacosM ¶
type NacosM struct { Client struct { NamespaceId string `toml:"namespaceId"` DataId string `toml:"dataId"` Group string `toml:"group"` TimeoutMs uint64 `toml:"timeoutMs"` LogDir string `toml:"logDir"` CacheDir string `toml:"cacheDir"` LogLevel string `toml:"logLevel"` } `toml:"client"` ServerArr []*NacosServer `toml:"server"` }
type NacosServer ¶
Click to show internal directories.
Click to hide internal directories.