Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶ added in v1.1.0
type Config struct {
DevMode bool `yaml:"dev_mode" default:"false"`
Server struct {
Listen string `yaml:"listen"`
} `yaml:"server"`
Static struct {
Widget StaticService `yaml:"widget" anonymous:"true"`
Docs StaticService `yaml:"docs" anonymous:"true"`
} `yaml:"static"`
Upstream struct {
Meta struct {
Servers []string `yaml:"servers"`
} `yaml:"meta"`
} `yaml:"upstream"`
}
Config describes all configuration options for this app
var C Config
C is the config content that was populated from the corresponding config file
type StaticService ¶
StaticService describes a service that serves static files
Click to show internal directories.
Click to hide internal directories.