Documentation ¶
Index ¶
- type Watcher
- func (w *Watcher) AddDevice(device db.Device) (err error)
- func (w *Watcher) AddDevices(devices []db.Device) (err error)
- func (w *Watcher) BlockList() (blockList []db.DeviceIP, goodUntil time.Time, err error)
- func (w *Watcher) Close() (err error)
- func (w *Watcher) ModifyActiveUntil(ip db.DeviceIP, delta time.Duration) (err error)
- func (w *Watcher) SetActiveUntil(ip db.DeviceIP, activeUntil time.Time) (err error)
- func (w *Watcher) Start() (err error)
- func (w *Watcher) State() (state []db.Device, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Watcher ¶
type Watcher struct {
// contains filtered or unexported fields
}
func NewWatcher ¶
func (*Watcher) ModifyActiveUntil ¶
func (*Watcher) SetActiveUntil ¶
Click to show internal directories.
Click to hide internal directories.