mqtt

package
v0.8.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

type DB interface {
	Update(func(tx *bbolt.Tx) error) error
	View(func(tx *bbolt.Tx) error) error
}

type Service

type Service struct {
	// contains filtered or unexported fields
}

func NewStore

func NewStore(db DB) Service

func (Service) All

func (s Service) All() []string

func (Service) Close

func (s Service) Close()

func (Service) Del

func (s Service) Del(key string)

func (Service) Get

func (s Service) Get(key string) packets.ControlPacket

func (Service) Open

func (s Service) Open()

func (Service) Put

func (s Service) Put(key string, message packets.ControlPacket)

func (Service) Reset

func (s Service) Reset()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL