Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPTransport ¶
type HTTPTransport struct {
// contains filtered or unexported fields
}
HTTPTransport implements transport interface for http/https protocol
type MQTTTransport ¶
type MQTTTransport struct {
// contains filtered or unexported fields
}
MQTTTransport implements transport interface for mqtt protocol
type Pick ¶
type Pick func() interface{}
Pick is called in order to pickup a data for generate method
type Runner ¶
type Runner struct {
// contains filtered or unexported fields
}
Runner runs given generator in specific intervals
type RunnerConfig ¶
type RunnerConfig struct { Generator generators.Generator Duration time.Duration Pick Pick Token string URL string }
RunnerConfig contains runner configuration these configuration specifies host, rate and etc.
Click to show internal directories.
Click to hide internal directories.