json_structs

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2021 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Overview

Package json_structs contains structures used internally for parsing json. These should not be used directly.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GeneralResponse

type GeneralResponse struct {
	Error *SingleError
}

type LightProperties

type LightProperties struct {
	On  bool
	Bri uint8
	XY  []float64
}

type LightState

type LightState struct {
	State *LightProperties
}

type SingleError

type SingleError struct {
	ErrorId     int `json:"type"`
	Address     string
	Description string
}

Jump to

Keyboard shortcuts

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