package
Version:
v0.0.0-...-b877db6
Opens a new window with list of versions in this module.
Published: Feb 29, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type App struct {
Name string `json:"name"`
Alg string `json:"alg"`
Signature Signature `json:"signature"`
}
type Config struct {
Port int `json:"port"`
AdminSecret string `json:"admin_secret"`
Apps map[string]*App `json:"apps"`
DefaultSignature Signature `json:"default_signature"`
MongoURL string `json:"mongo_url"`
DBName string `json:"db_name"`
ServerOptions ServerOptions `json:"server_options"`
}
type ServerOptions struct {
EnableTLS bool `json:"enable_tls"`
CertFile string `json:"cert_file"`
KeyFile string `json:"key_file"`
TLSConfig tls.Config `json:"tls_config"`
}
type Signature struct {
HMACSecret string `json:"hmac_secret"`
RSAPrivateKeyFile string `json:"rsa_private_key_file"`
RSAPublicKeyFile string `json:"rsa_public_key_file"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.