shure

package module
v0.0.0-...-0dd4b3e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 1, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	Device string
	Key    string
	Value  string
}

type EventEmitter

type EventEmitter interface {
	Send(Event)
}

type Receiver

type Receiver struct {
	Name    string
	Address string

	OnlineMu    sync.RWMutex
	Online      bool
	LastUpdated time.Time
}

type ReceiverMonitor

type ReceiverMonitor interface {
	Monitor(Receiver) error
}

ReceiverMonitor is the interface met by an implementation of a receiver monitor

type ReceiverStore

type ReceiverStore interface {
	GetReceivers() ([]Receiver, error)
}

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL