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_perm_path"` TlsCertPemPath string `toml:"tls_cert_perm_path"` Library []*LibraryConf `toml:"library"` Scope []*ScopeConf `toml:"scope"` User []*UserConf `toml:"user"` Safe *SafeConf `toml:"safe"` }
type LibraryConf ¶
Click to show internal directories.
Click to hide internal directories.