Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudPubSubSink ¶ added in v0.2.0
type CloudPubSubSink struct {
Name, Project, Topic, Device string
RateLimit *RateLimit
Creds *google.Credentials
}
type MQTTSink ¶
type MQTTSink struct {
Name, Topic, ClientID, UserName, Password string
Format PublicationFormat
RateLimit *RateLimit
ServerName string
ServerPort int
TLSConfig *tls.Config
}
MQTTSink is configuration for the sink.MQTTSink.
type PublicationFormat ¶
type PublicationFormat int
PublicationFormat represents format of message published on MQTT topic.
const ( // BINARY means data is a proto serialized to binary. BINARY PublicationFormat = iota // JSON means data is in json format. JSON )
type StdoutSink ¶
StdoutSink is configuration for sink.StdoutSink.
Click to show internal directories.
Click to hide internal directories.