Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DataStorage ¶
func PlaybackStatusString ¶
func PlaybackStatusString(status PlaybackStatus) string
Types ¶
type DeviceAvailable ¶
type DeviceAvailable struct {
Available bool
}
type Msg ¶
type Msg struct { MsgType MsgType Data json.RawMessage }
type PlaybackCmd ¶
type PlaybackCmd struct {
Cmd Cmd
}
type PlaybackRequest ¶
type PlaybackRequest struct {
Url string
}
type PlaybackState ¶
type PlaybackState struct { Status PlaybackStatus LastPosition int Since time.Time }
type PlaybackStatus ¶
type PlaybackStatus int
const ( Stopped PlaybackStatus = iota Requested Error Paused Playing )
type Registration ¶
type Registration struct {
Name string
}
type SeekRequest ¶
type SeekRequest struct {
Position int
}
Click to show internal directories.
Click to hide internal directories.