Documentation ¶
Index ¶
- type Hub
- func (h *Hub) Background(ctx context.Context, doneC chan<- struct{})
- func (h *Hub) Create(uuid, name string, reciva upnp.Reciva, subscription upnpsub.Subscription, ...) (Radio, error)
- func (h *Hub) Delete(uuid string) error
- func (h *Hub) Exists(uuid string) bool
- func (h *Hub) Get(uuid string) (Radio, error)
- func (h *Hub) List() []Radio
- type Radio
- type RadioStateC
- type RadioUpdateFnC
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hub ¶
type Hub struct {
// contains filtered or unexported fields
}
func (*Hub) Background ¶
func (*Hub) Create ¶
func (h *Hub) Create(uuid, name string, reciva upnp.Reciva, subscription upnpsub.Subscription, stateC RadioStateC, updateFnC RadioUpdateFnC, close context.CancelFunc) (Radio, error)
type Radio ¶
type RadioStateC ¶
Click to show internal directories.
Click to hide internal directories.