client

package
v0.1.0-78 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2015 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start()

func UpdateSphereAvahiService

func UpdateSphereAvahiService(isPaired, isMaster bool) error

Types

type Node

type Node struct {
	ID     string `json:"node_id"`
	SiteID string `json:"site_id"`
}

type NodeDevice

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

func (*NodeDevice) GetDeviceInfo

func (d *NodeDevice) GetDeviceInfo() *model.Device

func (*NodeDevice) GetDriver

func (d *NodeDevice) GetDriver() ninja.Driver

func (*NodeDevice) GetModuleInfo

func (d *NodeDevice) GetModuleInfo() *model.Module

func (*NodeDevice) SetEventHandler

func (d *NodeDevice) SetEventHandler(handler func(event string, payload interface{}) error)

type Site

type Site struct {
	ID           string `json:"site_id"`
	MasterNodeID string `json:"master_node_id"`
	UserID       string `json:"user_id"`
	Updated      nTime  `json:"updated"`
}

Jump to

Keyboard shortcuts

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