Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommanderConfig ¶
type CommanderConfig struct {
Port int `yaml:"port"`
}
type Config ¶
type Config struct { Name string `yaml:"name"` Env string `yaml:"env"` Salt string `yaml:"salt"` Log LogConfig `yaml:"log"` Http HttpConfig `yaml:"http"` Commander CommanderConfig `yaml:"commander"` Redis RedisConfig `yaml:"redis"` Database map[string]DbConfig `yaml:"database"` Service map[string]ServiceConfig `yaml:"service"` OAuth map[string]OAuthConfig `yaml:"oauth"` }
func LoadConfig ¶
type HttpConfig ¶
type OAuthConfig ¶
type RedisConfig ¶
type ServiceConfig ¶
type ServiceConfig struct {
Url string `yaml:"url"`
}
Click to show internal directories.
Click to hide internal directories.