transport

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Transport

type Transport struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func NewTransport

func NewTransport(id string) *Transport

func (*Transport) Delete

func (t *Transport) Delete(uri string) error

func (*Transport) Get

func (t *Transport) Get(uri string) ([]byte, error)

func (*Transport) OnConnect

func (t *Transport) OnConnect(client mqtt.Client)

func (*Transport) Put

func (t *Transport) Put(uri string, data []byte) error

func (*Transport) SetTree

func (t *Transport) SetTree(tree *tradfri.Tree)

Jump to

Keyboard shortcuts

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