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"`
BasePath string `toml:"base_path"`
EnableCORS bool `toml:"enable_cors"`
}
Config defines parameters for the HTTP server.
func DefaultConfig ¶
func DefaultConfig() *Config
func (*Config) BasicCheck ¶ added in v0.15.0
Click to show internal directories.
Click to hide internal directories.