Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Configuration ¶
type Configuration struct {
StatusCode int `mapstructure:"status" yaml:"status"`
Method string `mapstructure:"method" yaml:"method"`
MatchHost bool `mapstructure:"matchhost" yaml:"matchhost"`
Tee bool `mapstructure:"tee" yaml:"tee"`
SpoofHost string `mapstructure:"spoofhost" yaml:"spoofhost"`
RequestHeader flagargs.HTTPHeader `mapstructure:"requestheader" yaml:"requestheader"`
ResponseHeader flagargs.HTTPHeader `mapstructure:"responseheader" yaml:"responseheader"`
}
func (*Configuration) Hydrate ¶
func (c *Configuration) Hydrate() error
func (*Configuration) Validate ¶
func (c *Configuration) Validate() error
Click to show internal directories.
Click to hide internal directories.