Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataService ¶
type DataService interface {
EventConfigs(context.Context, string) ([]EventConfig, error)
}
type Event ¶
type Event struct {
Key string
Value string
DeviceID string
Tags []string
// RoomID is passed through from the original event, but can be overridden in config
RoomID string
// GeneratingSystem is passed through from the original event
GeneratingSystem string
// Timestamp is passed through from the original event
Timestamp time.Time
}
type EventConfig ¶
type StateUpdate ¶
type StateUpdateStreamer ¶
type StateUpdateStreamer interface {
Next(context.Context) (StateUpdate, error)
Close() error
}
Click to show internal directories.
Click to hide internal directories.