Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { HTTP httpsrv.ConfigItem `yaml:"http" json:"http"` Headers Headers `yaml:"headers" json:"headers"` }
Config model
func (Config) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Config) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Config) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Config) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Headers ¶
type Headers struct { ProxyHeaders []string `yaml:"proxy_headers" json:"proxy_headers"` DefaultHeaders map[string]string `yaml:"default_headers" json:"default_headers"` }
Headers model
func (Headers) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Headers) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Headers) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Headers) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
Click to show internal directories.
Click to hide internal directories.