Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Pin ¶
type Pin struct { Pin int `json:"pin"` Flip bool `json:"flip"` BlueberryPresets string `json:"blueberry_presets"` Presets struct { Connected map[string]string `json:"connected"` Disconnected map[string]string `json:"disconnected"` } `json:"presets"` ReadFrequency string `json:"read-frequency"` ReadsBeforeChange int `json:"reads-before-change"` TrueUpFrequency string `json:"true-up-frequency"` ChangeRequests []request `json:"change"` TrueUpRequests []request `json:"true-up"` Connected bool `json:"connected"` }
Pin .
func (Pin) CurrentPreset ¶
CurrentPreset returns the preset the hostname should be set to
Click to show internal directories.
Click to hide internal directories.