Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AuthConfig ¶
type Config ¶
type Config struct {
ServerURL string `yaml:"server_url"`
Routes []*RouteConfig `yaml:"routes"`
Auth *AuthConfig `yaml:"auth"`
}
type RouteConfig ¶
type RouteConfig struct {
Name string `yaml:"name"`
LocalAddr string `yaml:"local_addr"`
Auth *AuthConfig `yaml:"auth"`
Disabled bool `yaml:"disabled"`
}
Click to show internal directories.
Click to hide internal directories.