29 lines
599 B
Go
29 lines
599 B
Go
package config
|
|
|
|
import "github.com/volker-raschek/flucky/pkg/types"
|
|
|
|
// Remote ...
|
|
type Remote struct {
|
|
RemoteID string `json:"remote_id"`
|
|
Name string `json:"remote_name"`
|
|
Address string `json:"remote_address"`
|
|
Registered bool `json:"remote_registered"`
|
|
Enabled bool `json:"remote_enabled"`
|
|
}
|
|
|
|
func (r *Remote) AddSensor(s *types.Sensor) error {
|
|
return nil
|
|
}
|
|
|
|
func (r *Remote) RegisterDevice(d *types.Device) error {
|
|
return nil
|
|
}
|
|
|
|
func (r *Remote) RemoveSensor(s *types.Sensor) error {
|
|
return nil
|
|
}
|
|
|
|
func (r *Remote) UnregisterDevice(d *types.Device) error {
|
|
return nil
|
|
}
|