Documentation ¶
Index ¶
- func GetAlert(ctx context.Context) (structs.Alert, bool)
- func GetEvent(ctx context.Context) (events.Event, bool)
- func GetRoomIssue(ctx context.Context) (structs.RoomIssue, bool)
- func GetStaticDevice(ctx context.Context) (statedefinition.StaticDevice, bool)
- func GetStaticDevices(ctx context.Context) ([]statedefinition.StaticDevice, bool)
- func PutAlert(ctx context.Context, v structs.Alert) context.Context
- func PutEvent(ctx context.Context, v events.Event) context.Context
- func PutRoomIssue(ctx context.Context, v structs.RoomIssue) context.Context
- func PutStaticDevice(ctx context.Context, v statedefinition.StaticDevice) context.Context
- func PutStaticDevices(ctx context.Context, v []statedefinition.StaticDevice) context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRoomIssue ¶
GetRoomIssue returns an alert/true from ctx if there is one, and false if there isn't.
func GetStaticDevice ¶
func GetStaticDevice(ctx context.Context) (statedefinition.StaticDevice, bool)
GetStaticDevice returns a static device/true from ctx if there is one, and false if there isn't.
func GetStaticDevices ¶
func GetStaticDevices(ctx context.Context) ([]statedefinition.StaticDevice, bool)
GetStaticDevices returns a static device/true from ctx if there is one, and false if there isn't.
func PutRoomIssue ¶
PutRoomIssue puts an event into ctx
func PutStaticDevice ¶
func PutStaticDevice(ctx context.Context, v statedefinition.StaticDevice) context.Context
PutStaticDevice puts an event into ctx
func PutStaticDevices ¶
func PutStaticDevices(ctx context.Context, v []statedefinition.StaticDevice) context.Context
PutStaticDevices puts an event into ctx
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.