Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidLibrary ¶
func ValidLibrary(cfg *Conf, conf *LibraryConf) error
func ValidScope ¶
Types ¶
type Conf ¶
type Conf struct {
HttpEnable bool `toml:"http_enable"`
HttpListen string `toml:"http_listen"`
HttpsEnable bool `toml:"https_enable"`
HttpsListen string `toml:"https_listen"`
TlsKeyPem string `toml:"tls_key_pem"`
TlsCertPem string `toml:"tls_cert_pem"`
TlsKeyPemPath string `toml:"tls_key_pem_path"`
TlsCertPemPath string `toml:"tls_cert_pem_path"`
Library []*LibraryConf `toml:"library"`
Scope []*ScopeConf `toml:"scope"`
User []*UserConf `toml:"user"`
Security *SecurityConf `toml:"security"`
}
type LibraryConf ¶
type SecurityConf ¶ added in v1.0.2
Click to show internal directories.
Click to hide internal directories.