Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DontCare = Version(-1)
Functions ¶
This section is empty.
Types ¶
type PlaybackState ¶
type PlaybackState int
const ( Stopped PlaybackState = iota Playing Paused )
func FromString ¶
func FromString(s string) PlaybackState
func (PlaybackState) String ¶
func (p PlaybackState) String() string
type State ¶
type State struct {
Playback PlaybackState
Source string
Position time.Duration
Length time.Duration
Scores []Score
}
func (State) MarshalJSON ¶
func (*State) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.