Documentation ¶ Index ¶ type Player func NewPlayer() (*Player, error) func (p *Player) CurrentStation() string func (p *Player) IsCurrentStation(url string) bool func (p *Player) IsPlaying() bool func (p *Player) Pause() func (p *Player) Play(url string, name string) error func (p *Player) Stop() Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Player ¶ type Player struct { // contains filtered or unexported fields } func NewPlayer ¶ func NewPlayer() (*Player, error) func (*Player) CurrentStation ¶ func (p *Player) CurrentStation() string func (*Player) IsCurrentStation ¶ func (p *Player) IsCurrentStation(url string) bool func (*Player) IsPlaying ¶ func (p *Player) IsPlaying() bool func (*Player) Pause ¶ func (p *Player) Pause() func (*Player) Play ¶ func (p *Player) Play(url string, name string) error func (*Player) Stop ¶ func (p *Player) Stop() Source Files ¶ View all Source files player.go Click to show internal directories. Click to hide internal directories.