package
Version:
v3.4.2+incompatible
Opens a new window with list of versions in this module.
Published: Feb 1, 2018
License: LGPL-3.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
RegionMysql *RegionMysql `json:"RegionMysql"`
Kubernets *Kubernets `json:"Kubernets"`
RegionAPI *RegionAPI `json:"RegionAPI"`
DockerLogPath string `json:"DockerLogPath"`
}
LoadConfigByRegion 通过regionAPI获取配置
type Kubernets struct {
Master string
}
type RegionMysql struct {
URL string `json:"URL"`
Pass string `json:"Pass"`
User string `json:"User"`
Database string `json:"Database"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.