Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { App CoreConfig `yaml:"app"` OutboundConfig []*OutboundConfig `yaml:"outbounds"` Aws map[string]string `yaml:"aws"` DatabaseConfig *DatabaseConfig `yaml:"database-config"` }
type CoreConfig ¶
type CoreConfig struct {
Name string `yaml:"name"`
}
type DatabaseConfig ¶
type DatabaseConfig struct { Hostname string `yaml:"hostname"` Port string `yaml:"port"` User string `yaml:"user"` Password string `yaml:"password"` DatabaseName string `yaml:"database-name"` }
func (*DatabaseConfig) SetFromEnvOrDefault ¶
func (dc *DatabaseConfig) SetFromEnvOrDefault()
type OutboundConfig ¶
Click to show internal directories.
Click to hide internal directories.