Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GLobalEnableCompression = gob.CompresTypeZlib
GLobalEnableCompression -
View Source
var GlobalSplitterName = "/code.afis.me/"
GlobalSplitterName -
Functions ¶
This section is empty.
Types ¶
type BrokersModules ¶
type BrokersModules struct {
Name string `yaml:"name"`
Bin string `yaml:"bin"`
Managed bool `yaml:"managed"`
CaptureLogs bool `yaml:"capturelogs"`
CmdLine []CmdLine `yaml:"cmdline"`
}
BrokersModules -
type CmdLine ¶
type CmdLine struct {
Type string `yaml:"type"`
Key string `yaml:"key"`
Value interface{} `yaml:"value"`
Description string `yaml:"description"`
}
CmdLine -
type Config ¶
type Config struct {
TimeZone string `yaml:"timezone"`
LogsLocation string `yaml:"logslocation"`
Database string `yaml:"database"`
Server struct {
Port int `yaml:"port"`
Host string `yaml:"host"`
TLS bool `yaml:"tls"`
Crt string `yaml:"crt"`
Key string `yaml:"key"`
KeySize int `yaml:"keySize"`
Domains []string `yaml:"domains"`
IPAddress []string `yaml:"ipaddress"`
DefaultUser DefaultUser `yaml:"defaultuser"`
} `yaml:"server"`
Rates []RatesModules `yaml:"rates"`
Brokers []BrokersModules `yaml:"brokers"`
}
Config -
type DefaultUser ¶
type DefaultUser struct {
Name string `yaml:"name"`
Email string `yaml:"email"`
Password string `yaml:"password"`
}
DefaultUser -
Source Files
¶
- config.go
Click to show internal directories.
Click to hide internal directories.