Documentation ¶
Overview ¶
Package config implements the necessary structures and parsing of the server configuration
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( BuildVersion = "N/A" BuildDate = "N/A" )
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Address string `env:"ADDRESS"` GRPCAddress string `env:"GRPC_ADDRESS"` CryptoCrt string `env:"CRYPTO_CERT"` CryptoKey string `env:"CRYPTO_KEY"` CACertFile string `env:"CA_CERT_KEY"` }
Config structure for working with client configuration
func ParseConfig ¶
ParseConfig parsing ENV and command line arguments to get the configuration
Click to show internal directories.
Click to hide internal directories.