Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Enable bool `toml:"enable"`
Listen string `toml:"listen"`
Origins []string `toml:"origins"`
}
func DefaultConfig ¶
func DefaultConfig() *Config
func (*Config) BasicCheck ¶
BasicCheck performs basic checks on the configuration.
Click to show internal directories.
Click to hide internal directories.