adapter

package
v0.0.0-...-35ec728 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Node

type Node struct {
	UUID     string `json:"uuid"`
	Name     string `json:"name"`
	Group    string `json:"group"`
	Location struct {
		Lat float64 `json:"lat"`
		Lon float64 `json:"lon"`
	} `json:"location"`
}

type NodeState

type NodeState struct {
	NodeID int  `json:"nid"`
	State  bool `json:"state"`
}

type Sink

type Sink struct {
	ID   int    `json:"id"`
	Name string `json:"name"`
	Addr string `json:"addr"`
}

type States

type States struct {
	Timestamp string      `json:"timestamp"`
	State     []NodeState `json:"state"`
}

Jump to

Keyboard shortcuts

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