Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAppPath ¶
GetAppPath return the working path for the app as root user, the result is `/root/.zj-db-cluster`
Types ¶
type ClusterConfig ¶
type ClusterConfig struct { Username string `toml:"dbusername"` Password string `toml:"dbpassword"` Vip Vip Atlas map[string]Atlas DB map[string]Database `toml:"database"` }
ClusterConfig ...
var Config ClusterConfig
Click to show internal directories.
Click to hide internal directories.