Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTLSConfig ¶
func GetEnvVarDefault ¶
Types ¶
type Config ¶
type Config struct {
AmqpUrl string `json:"hermes_amqp"`
ClientHandlerServer string `json:"hermes_client_handler_server"`
CACertFile string `json:"hermes_cacertfile"`
CertFile string `json:"hermes_certfile"`
KeyFile string `json:"hermes_keyfile"`
}
Config struct with configuration data for the client application
func GetGlobalConfig ¶ added in v0.3.1
func GetGlobalConfig() Config
GetGlobalConfig returns the global configuration struct for the application
func LoadConfig ¶
LoadConfig loads the globalConfig structure from a JSON-based stream
Click to show internal directories.
Click to hide internal directories.