iotf

package
v0.0.0-...-0353727 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2016 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Credentials

type Credentials struct {
	User             string `json:"apiKey"`
	Password         string `json:"apiToken"`
	Org              string
	BaseUri          string `json:"base_uri"`
	MqttHost         string `json:"mqtt_host"`
	MqttSecurePort   int    `json:"mqtt_s_port"`
	MqttUnsecurePort int    `json:"mqtt_u_port"`
}

type Event

type Event struct {
	Device, Payload string
}

type IoTFManager

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

func NewIoTFManager

func NewIoTFManager(vcapServices string, commands chan<- bridge.Command, events <-chan Event, deviceType string) (*IoTFManager, error)

func (*IoTFManager) Connect

func (self *IoTFManager) Connect() error

func (*IoTFManager) Error

func (self *IoTFManager) Error() <-chan error

func (*IoTFManager) Loop

func (self *IoTFManager) Loop()

func (*IoTFManager) StatusReporter

func (self *IoTFManager) StatusReporter() reporter.StatusReporter

Jump to

Keyboard shortcuts

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