PKGBUILD/pkg/config/remote.go

29 lines
605 B
Go
Raw Normal View History

2019-02-17 17:23:59 +00:00
package config
2019-02-24 21:46:36 +00:00
import "git.cryptic.systems/fh-trier/go-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
}