Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultForwarderKey = "X-Forwarder-for"
View Source
const DefaultHttpPort = 80
View Source
const DefaultHttpsPort = 443
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpServiceConfig ¶
type HttpServiceConfig struct {
DebugMode bool `yaml:"debug_mode"`
Endpoint HttpServiceEndpoint `yaml:"endpoint"`
Http HttpServicePlain `yaml:"http"`
Https HttpServiceSecure `yaml:"https"`
Xff HttpServiceXff `yaml:"xff"`
Cors HttpServiceCors `yaml:"cors"`
Static HttpServiceStatic `yaml:"static"`
}
type HttpServiceCors ¶
type HttpServiceEndpoint ¶
type HttpServicePlain ¶
type HttpServiceSecure ¶
type HttpServiceStatic ¶
type HttpServiceXff ¶
Click to show internal directories.
Click to hide internal directories.