zone

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Id

type Id string
const (
	NoZone Id = ""
)

type Zone

type Zone struct {
	Id          Id     `json:"id"`
	DisplayName string `json:"displayName"`
	Perimeter   bool   `json:"perimeter"`
	Delayed     bool   `json:"delayed"`
	Armed       bool   `json:"-"`
}

func SubstitutionZone

func SubstitutionZone(displayName string, armed bool) Zone

func ZoneFromConfig

func ZoneFromConfig(config config.ZoneConfig) Zone

Jump to

Keyboard shortcuts

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