bridge

package
v0.0.0-...-20b61b1 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2017 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Discover

func Discover(t int) (map[string]struct{}, error)

Discover Hue bridges via SSDP. Returns a map of IP.String() to empty struct.

Types

type Bridge

type Bridge struct {
	IP string
}

Bridge represents a Hue Bridge

func (*Bridge) CreateUser

func (b *Bridge) CreateUser() (*config.CreateUserResult, error)

func (*Bridge) CreateUserWithName

func (b *Bridge) CreateUserWithName(payload *config.CreateUser) (*config.CreateUserResult, error)

Jump to

Keyboard shortcuts

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