Documentation ¶
Overview ¶
Package config provides the configuration settings to be used by the application at runtime
Index ¶
Constants ¶
View Source
const ( Verbosity = "verbosity" VerbosityShorthand = "v" AlwaysSendTo = "alwayssendto" Storage = "storage" WorkDir = "workdir" Url = "url" OtherNodes = "othernodes" PublicKeys = "publickeys" PrivateKeys = "privatekeys" Port = "port" Socket = "socket" GenerateKeys = "generate-keys" BerkeleyDb = "berkeleydb" UseGRPC = "grpc" GrpcJsonPort = "grpcport" NetworkInterface = "networkinterface" Tls = "tls" TlsServerChain = "tlsserverchain" TlsServerTrust = "tlsservertrust" TlsKnownServers = "tlsknownservers" TlsClientCert = "tlsclientcert" TlsServerCert = "tlsservercert" TlsKnownClients = "tlsknownclients" TlsClientChain = "tlsclientchain" TlsClientKey = "tlsclientkey" TlsClientTrust = "tlsclienttrust" TlsServerKey = "tlsserverkey" )
Variables ¶
This section is empty.
Functions ¶
func AllSettings ¶
func AllSettings() map[string]interface{}
func GetStringSlice ¶
func LoadConfig ¶
LoadConfig loads all configuration settings in the provided configPath location.
func ParseCommandLine ¶
func ParseCommandLine()
ParseCommandLine parses all provided command line arguments.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.