Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CORSConfig ¶
type CORSConfig struct { AllowedOrigins []string `yaml:"allowedOrigins" json:"allowedOrigins"` AllowedHeaders []string `yaml:"allowedHeaders" json:"allowedHeaders"` AllowedMethods []string `yaml:"allowedMethods" json:"allowedMethods"` AllowCredentials bool `yaml:"allowCredentials" json:"allowCredentials"` }
type Config ¶
type Config struct { listener.Config `yaml:",inline"` Server server.Config `yaml:",inline" json:",inline"` CORS CORSConfig `yaml:"cors" json:"cors"` UI UIConfig `yaml:"ui" json:"ui"` }
func DefaultConfig ¶
Click to show internal directories.
Click to hide internal directories.