Documentation
¶
Index ¶
Constants ¶
View Source
const EnvPrefix = "AM"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
DB DBConfig
AMHost string `default:"am-service"`
AMPort int `default:"9120"`
IMHost string `default:"im-service"`
IMPort int `default:"9119"`
TlsEnabled bool `default:"false"`
TlsCertFile string `default:"server.cert"`
TlsKeyFile string `default:"server.key"`
LogLevel string `default:"DEBUG"`
}
func (*Config) JSONString ¶
func (*Config) TOMLString ¶
func (*Config) YAMLString ¶
Click to show internal directories.
Click to hide internal directories.