examples

package
v0.0.0-...-4859fc7 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SensorReader

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

SensorReader is a Google IoT Core device that reads device sensors

func NewSensorReader

func NewSensorReader(id *iot.ID, credentials *iot.Credentials, queueDirectory string, logger iot.Logger, servers ...string) (*SensorReader, error)

NewSensorReader creates a new sensor reader

func (*SensorReader) Close

func (sr *SensorReader) Close() error

Close shuts down the SensorReader

func (*SensorReader) Wait

func (sr *SensorReader) Wait()

Wait blocks until the SensorReader has stopped

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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