Discover Packages
gitee.com/tankz/rain_common
config
package
Version:
v0.0.5
Opens a new window with list of versions in this module.
Published: Feb 11, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Consul struct {
Host string `toml:"host"`
Port int `toml:"port"`
}
type ElasticSearch struct {
Host string `toml:"host"`
Port int `toml:"port"`
User string `toml:"user"`
Password string `toml:"password"`
}
type Email struct {
Addr string `toml:"addr"`
Host string `toml:"host"`
Count int `toml:"count"`
Identity string `toml:"identity"`
Username string `toml:"username"`
Password string `toml:"password"`
}
type Minio struct {
Host string `toml:"host"`
Port int `toml:"port"`
AccessKeyID string `toml:"accessKeyID"`
SecretAccessKey string `toml:"secretAccessKey"`
UseSSL bool `toml:"useSSL"`
}
type MongoDB struct {
Host string `toml:"host"`
Port int `toml:"port"`
User string `toml:"user"`
Password string `toml:"password"`
}
type Mysql struct {
Host string `toml:"host"`
Port int `toml:"port"`
User string `toml:"user"`
Password string `toml:"password"`
Database string `toml:"database"`
}
type Redis struct {
Host string `toml:"host"`
Port int `toml:"port"`
Password string `toml:"password"`
DB int `toml:"db"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.