Documentation ¶
Index ¶
- Variables
- func NewLogSink() *collectors.FuncCollector
- func NewLogSinkToMemory() *collectors.FuncCollector
- type MQTTSink
- type MultiErrors
- type NopSink
- type QueryResult
- type RestSink
- func (ms *RestSink) Close(ctx api.StreamContext) error
- func (ms *RestSink) Collect(ctx api.StreamContext, item interface{}) error
- func (ms *RestSink) Configure(ps map[string]interface{}) error
- func (ms *RestSink) Open(ctx api.StreamContext) error
- func (ms *RestSink) Send(v interface{}, logger api.Logger) (*http.Response, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var QR = &QueryResult{LastFetch: time.Now()}
Functions ¶
func NewLogSink ¶
func NewLogSink() *collectors.FuncCollector
log action, no properties now example: {"log":{}}
func NewLogSinkToMemory ¶
func NewLogSinkToMemory() *collectors.FuncCollector
Types ¶
type MQTTSink ¶
type MQTTSink struct {
// contains filtered or unexported fields
}
type MultiErrors ¶
type MultiErrors []error
func (MultiErrors) AddError ¶
func (me MultiErrors) AddError(err error) MultiErrors
func (MultiErrors) Error ¶
func (me MultiErrors) Error() string
Click to show internal directories.
Click to hide internal directories.