Documentation ¶
Index ¶
- Constants
- func PermuteMultiLevelWildcards(t string, fixedParts []string) []string
- func PermuteSingleLevelWildcards(topic string, fixedParts []string) (result []string)
- func PermuteWildcards(topic string, fixedParts []string) (result []string)
- func SortByWildcardCount(list []string)
- func TopicGenerator(config configuration.Config, deviceTypeProvider common.DeviceTypeProvider, ...) (topicCandidates []string, err error)
Constants ¶
View Source
const DefaultActuatorPattern = "{{.DeviceId}}/cmnd/{{.LocalServiceId}}"
Variables ¶
This section is empty.
Functions ¶
func PermuteWildcards ¶
func SortByWildcardCount ¶
func SortByWildcardCount(list []string)
func TopicGenerator ¶
func TopicGenerator(config configuration.Config, deviceTypeProvider common.DeviceTypeProvider, device model.PermDevice) (topicCandidates []string, err error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.