Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CORSConfig ¶ added in v0.25.3
type CORSConfig struct {
Enabled bool
AllowedOrigins []string
AllowedHeaders []string
AllowedMethods []string
}
func DefaultCORSConfig ¶ added in v0.25.3
func DefaultCORSConfig() CORSConfig
type Config ¶ added in v0.5.0
type Config struct {
Address string
Port string
SkipAuth bool
CORS CORSConfig
}
func DefaultConfig ¶ added in v0.5.0
func DefaultConfig() Config
func (*Config) RequestURL ¶ added in v0.14.0
Click to show internal directories.
Click to hide internal directories.