Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SMSConfiguration ¶
type SMSConfiguration struct { CAFile string `json:"cafile"` ServerCert string `json:"servercert"` ServerKey string `json:"serverkey"` Password string `json:"password"` BackendAddress string `json:"smsdbaddress"` VaultToken string `json:"vaulttoken"` DisableTLS bool `json:"disable_tls"` BackendAddressEnvVariable string `json:"smsdburlenv"` }
SMSConfiguration loads up all the values that are used to configure backend implementations TODO: Review these and see if they can be created/discovered dynamically
var SMSConfig *SMSConfiguration
SMSConfig is the structure that stores the configuration
func ReadConfigFile ¶
func ReadConfigFile(file string) (*SMSConfiguration, error)
ReadConfigFile reads the specified smsConfig file to setup some env variables
Click to show internal directories.
Click to hide internal directories.