Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
DB string `yaml:"db" json:"db" config:"modoki-db"`
Domain string `yaml:"domain" json:"domain" config:"modoki-app-domain"`
Namespace string `yaml:"namespace" json:"namespace" config:"modoki-namespace"`
Address string `yaml:"address" json:"address" config:"modoki-address"`
Endpoints Endpoints `yaml:"endpoints" json:"endpoints" config:"-"`
APIKeys []string `yaml:"api_keys" json:"api_keys" config:"modoki-api-key"` // TODO: Rename to modoki-api-keys
DBElements dbElements `yaml:"-" json:"-"`
}
func ReadConfig ¶
Click to show internal directories.
Click to hide internal directories.