Documentation ¶
Overview ¶
Package subscription implements MQTT topic subscriptions
Index ¶
- type List
- func (s *List) Add(filter string, qos byte) (added bool)
- func (s *List) Clear()
- func (s *List) Count() (count int)
- func (s *List) Match(t ...string) (qos byte, found bool)
- func (s *List) Matches(t ...string) (matches []string)
- func (s *List) Remove(filter string) (removed bool)
- func (s *List) Subscriptions() map[string]byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type List ¶
type List struct {
// contains filtered or unexported fields
}
List of MQTT topic subscriptions
func (*List) Subscriptions ¶
Subscriptions returns the subscriptions in the list
Click to show internal directories.
Click to hide internal directories.