Documentation
¶
Index ¶
Constants ¶
View Source
const ( YamlStorage = "yaml" VaultStorage = "vault" )
Variables ¶
This section is empty.
Functions ¶
func InitConfig ¶
func InitConfig(path string)
Types ¶
type ConfidentialS ¶
type Config ¶
type Config struct {
Server ServerS `json:"server" yaml:"server"`
Confidential ConfidentialS `json:"confidential" yaml:"confidential"`
FakeIdentity FakeIdentityS `json:"fakeIdentity" yaml:"fakeIdentity"`
}
var DefaultConfig *Config
type FakeIdentityS ¶
type Mysql ¶
type Mysql struct {
Host string `json:"host" yaml:"host"`
Port int `json:"port" yaml:"port"`
Username string `json:"username" yaml:"username"`
Password string `json:"password" yaml:"password"`
DBName string `json:"dbname" yaml:"dbname"`
}
func GetRemoteMysql ¶
func GetRemoteMysql() *Mysql
Click to show internal directories.
Click to hide internal directories.