Documentation ¶
Index ¶
- func ActiveSignal(ectx echo.Context) error
- func DeviceHardwareInfo(ectx echo.Context) error
- func FlushDNS(c echo.Context) error
- func GetDHCPState(ectx echo.Context) error
- func GetDeviceID(ectx echo.Context) error
- func GetDeviceInfo(ectx echo.Context) error
- func GetDividerState(ctx echo.Context) error
- func GetHostname(ectx echo.Context) error
- func GetIPAddress(ectx echo.Context) error
- func GetScreenshot(ectx echo.Context) error
- func GetServiceHealth(ectx echo.Context) error
- func HardwareInfo(ectx echo.Context) error
- func IsConnectedToInternet(ectx echo.Context) error
- func PingRoom(ectx echo.Context) error
- func PresetForHostname(ctx echo.Context) error
- func RebootPi(context echo.Context) error
- func RefreshContainers(ctx echo.Context) error
- func ResyncDB(ctx echo.Context) error
- func RoomHealth(ectx echo.Context) error
- func RoomState(ectx echo.Context) error
- func SendEvent(ctx echo.Context) error
- func SetDHCPState(ectx echo.Context) error
- func ViaInfo(ectx echo.Context) error
- type DeviceInfo
- type ViaData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActiveSignal ¶
ActiveSignal returns the active inputs in the room
func DeviceHardwareInfo ¶
DeviceHardwareInfo returns the hardware info for all devices in the room
func GetDHCPState ¶
GetDHCPState returns whether or not dhcp is enabled and if it can be toggled or not
func GetDeviceID ¶
GetDeviceID returns the hostname of the device we are on
func GetDividerState ¶
GetDividerState returns the state of the dividers
func GetHostname ¶
GetHostname returns the hostname of the device we are on
func GetIPAddress ¶
GetIPAddress returns the ip address of the device we are on
func GetScreenshot ¶
GetScreenshot a screenshot of the device's screen
func GetServiceHealth ¶
GetServiceHealth returns the health of services on this device
func HardwareInfo ¶
HardwareInfo returns hardware info about this device
func IsConnectedToInternet ¶
IsConnectedToInternet returns a bool of true/false
func PresetForHostname ¶
PresetForHostname returns the preset that a specific hostname should be on
func SetDHCPState ¶
SetDHCPState toggles dhcp to be on/off
Types ¶
type DeviceInfo ¶
type DeviceInfo struct { Hostname string `json:"hostname,omitempty"` ID string `json:"id,omitempty"` IP string `json:"ip,omitempty"` InternetConnectivity bool `json:"internet-connectivity"` DHCPInfo struct { Enabled bool `json:"enabled"` Toggleable bool `json:"toggleable"` } `json:"dhcp"` }
DeviceInfo .