Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultBroker = &Broker{}
View Source
var Known = struct { CacheInvalidationAll Signal GenericCacheInvalidation Signal DeviceCacheInvalidation Signal DeviceTypeCacheInvalidation Signal ConceptCacheInvalidation Signal CharacteristicCacheInvalidation Signal FunctionCacheInvalidation Signal AspectCacheInvalidation Signal DeviceClassCacheInvalidation Signal HubCacheInvalidation Signal DeviceGroupInvalidation Signal ProtocolInvalidation Signal LocationInvalidation Signal UpdateDone Signal }{ CacheInvalidationAll: 0, GenericCacheInvalidation: 1, DeviceCacheInvalidation: 2, DeviceTypeCacheInvalidation: 3, ConceptCacheInvalidation: 4, CharacteristicCacheInvalidation: 5, FunctionCacheInvalidation: 6, AspectCacheInvalidation: 7, DeviceClassCacheInvalidation: 8, HubCacheInvalidation: 9, DeviceGroupInvalidation: 10, ProtocolInvalidation: 11, LocationInvalidation: 12, UpdateDone: 13, }
Functions ¶
func Sub ¶
Sub returns id, if id == "", one will be created wg will be done as soon as all subscription functions returned on wg only Wait() may be called. and only within a separate go routine, to prevent a deadlock
Types ¶
type Broker ¶
type Broker struct { Debug bool // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.