Documentation ¶
Index ¶
- Constants
- func ExternalIPUpdater(ctx context.Context, status chan interface{})
- func GenerateRegistrationRequest(d DeviceInfo) *hass.RegistrationRequest
- func GetDeviceInfo(d DeviceInfo)
- func NewDevice(ctx context.Context) *linuxDevice
- func SetupContext(ctx context.Context) context.Context
- func UpdateExternalIPSensors(ctx context.Context, status chan interface{})
- type DeviceInfo
- type SensorInfo
Constants ¶
View Source
const ( Name = "go-hass-agent" Version = "0.0.3" )
Variables ¶
This section is empty.
Functions ¶
func ExternalIPUpdater ¶ added in v0.0.4
func GenerateRegistrationRequest ¶
func GenerateRegistrationRequest(d DeviceInfo) *hass.RegistrationRequest
func GetDeviceInfo ¶
func GetDeviceInfo(d DeviceInfo)
func UpdateExternalIPSensors ¶ added in v0.1.0
Types ¶
type DeviceInfo ¶
type SensorInfo ¶
type SensorInfo struct {
// contains filtered or unexported fields
}
func NewSensorInfo ¶
func NewSensorInfo() *SensorInfo
Click to show internal directories.
Click to hide internal directories.