Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultArguments = Arguments{
RefreshInterval: 60 * time.Second,
HTTPClientConfig: config.DefaultHTTPClientConfig,
}
Functions ¶
Types ¶
type Arguments ¶
type Arguments struct {
HTTPClientConfig config.HTTPClientConfig `river:",squash"`
RefreshInterval time.Duration `river:"refresh_interval,attr,optional"`
URL config.URL `river:"url,attr"`
}
func (*Arguments) UnmarshalRiver ¶
func (args *Arguments) UnmarshalRiver(f func(interface{}) error) error
Click to show internal directories.
Click to hide internal directories.