Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultPort = ":50101" DefaultTimeout = time.Minute RegistrationNone = "none" RegistrationEmail = "email" RegistrationDefault = RegistrationEmail )
Variables ¶
This section is empty.
Functions ¶
func ReadConfig ¶
func ReadConfig(config *Configuration) error
ReadConfig reads the configuration file
Types ¶
type Configuration ¶
type Configuration struct { Version string Build string Port string EtcdEndpoints []string ElasticsearchURL string NatsURL string DockerURL string DockerVersion string EmailKey string EmailSender string SmsAccountID string SmsKey string SmsSender string Registration string Notifications bool }
Configuration is used for amplifier configuration settings
func (*Configuration) String ¶
func (c *Configuration) String() string
Click to show internal directories.
Click to hide internal directories.