Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSource ¶
NewSource creates a new WebSocket source to connect to a remote SensorBee instance. The source has following required parameters:
- topology: the name of the topology in the remote instance
- stream: the name of the stream to issue a query
It also has optional parameters:
- host: the name of the host (default: "localhost")
- port: the port number of the remote instance (default: 15601)
- buffer_size: the buffer size in the BUFFER SIZE clause (default: 1024)
- drop_mode: the behavior of the IF FULL clause: "wait", "newest", or "oldest" (default: "wait")
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.