config

package
Version: v0.0.0-...-4eaba90 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2021 License: GPL-3.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 Configuration

type Configuration struct {
	Pin            string `json:"pin"`
	DoorIp         string `json:"doorIp"`
	GarageStatusIP string `json:"garageStatusIp"`
	KidsStatusIP   string `json:"kidsStatusIp"`
	MasterStatusIP string `json:"masterStatusIp"`
	MainStatusIP   string `json:"mainStatusIp"`
	GardenIp       string `json:"gardenIp"`
	WaterIp        string `json:"waterIp"`
	SoilThreshold  int    `json:"soilThreshold"`
	TickerActive   bool   `json:"tickerActive"`
	WebDir         string `json:"webDir"`
}

func (Configuration) ValidatePin

func (c Configuration) ValidatePin(pin string) bool

Jump to

Keyboard shortcuts

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