Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Server Server `toml:"server"`
Storage Storage `toml:"storage"`
PD PD `toml:"pd"`
Security Security `toml:"security"`
}
type Security ¶
type Security struct {
// CAPath is the path of file that contains list of trusted SSL CAs.
CAPath string `toml:"ca-path"`
// CertPath is the path of file that contains X509 certificate in PEM format.
CertPath string `toml:"cert-path"`
// KeyPath is the path of file that contains X509 key in PEM format.
KeyPath string `toml:"key-path"`
}
Click to show internal directories.
Click to hide internal directories.