PKGBUILD/pkg/config/remote.go

29 lines
599 B
Go
Raw Normal View History

2019-02-17 17:23:59 +00:00
package config
2019-05-12 09:57:53 +00:00
import "github.com/volker-raschek/flucky/pkg/types"
2019-02-22 12:08:58 +00:00
2019-02-17 17:23:59 +00:00
// 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"`
}
2019-02-22 12:08:58 +00:00
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
}