Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationEncryptionConfig ¶
type ApplicationEncryptionConfig struct { GPGPrivateKeyFile string `json:"gpg_private_key_file"` GPGPublicKeyFile string `json:"gpg_public_key_file"` GPGPassphraseFile string `json:"gpg_private_key_password_file"` GPGPrivateKey string `json:"gpg_private_key"` GPGPublicKey string `json:"gpg_public_key"` GPGPrivateKeyPassphrase []byte `json:"gpg_private_key_password"` GPGDeleteKeys bool `json:"pgp_delete_key_files_after_startup"` }
type ApplicationMasterConfig ¶
type ApplicationMasterConfig struct { Encryption ApplicationEncryptionConfig `json:"encryption"` PkiConfig ApplicationPkiConfig `json:"pki"` Storage ApplicationStorageConfig `json:"storage"` UserDb map[string]UserConfig `json:"users"` ServerConfig ApplicationServerConfig `json:"server"` }
func GetConfig ¶
func GetConfig() ApplicationMasterConfig
type ApplicationPkiConfig ¶
type ApplicationPkiConfig struct { CaCertFile string `json:"openssl_root_ca_cert_file"` CaPrivateKeyFile string `json:"openssl_root_ca_key_file"` CaPrivateKeyPasswordFile string `json:"openssl_root_ca_key_password_file"` CaPrivateKeyNoPasswordFile string `json:"openssl_root_ca_no_password_key_file"` CaDeleteKeys bool `json:"openssl_delete_key_files_after_startup"` CaCert *x509.Certificate CaPrivateNoPasswordKey *rsa.PrivateKey }
type ApplicationServerConfig ¶
type UserConfig ¶
type UserConfig struct { }
Click to show internal directories.
Click to hide internal directories.