Documentation ¶
Index ¶
Constants ¶
View Source
const CONTROLLING_FUNCTION_PREFIX = URN_PREFIX + "controlling-function:"
View Source
const DEVICE_PREFIX = URN_PREFIX + "device:"
View Source
const URN_PREFIX = "urn:infai:ses:"
Variables ¶
View Source
var NoSubscriptionExpected error = errors.New("no subscription expected")
Functions ¶
func GetHandledServices ¶
func IsControllingFunctionId ¶
func UsesControllingFunction ¶
Types ¶
type DeviceTypeProvider ¶
type DeviceTypeProvider interface {
GetDeviceType(deviceTypeId string) (dt models.DeviceType, err error)
}
type TopicGenerator ¶
type TopicGenerator = func(config configuration.Config, deviceTypeProvider DeviceTypeProvider, device model.PermDevice) (topicCandidates []string, err error)
Click to show internal directories.
Click to hide internal directories.