Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Output ¶ added in v1.4.0
type Output struct {
URL string `toml:"url"`
Timeout config.Duration `toml:"timeout"`
Method string `toml:"POST"`
Username string `toml:"username"`
Password string `toml:"password"`
Headers map[string]string `toml:"headers"`
Gzip bool `toml:"gzip"`
// contains filtered or unexported fields
}
Output for HTTP
func (*Output) Description ¶ added in v1.4.0
Description returns description
func (*Output) SetCondition ¶ added in v1.4.0
func (o *Output) SetCondition(condition conditional.Expression)
SetCondition set condition expression
func (*Output) SetSerializer ¶ added in v1.4.0
func (o *Output) SetSerializer(serializer serializers.Serializer)
SetSerializer set data serializer
Click to show internal directories.
Click to hide internal directories.