Documentation ¶
Index ¶
- type Controller
- func (c *Controller) Close() error
- func (c *Controller) Playing() bool
- func (c *Controller) SetSongElapsedFunc(f func(elapsed time.Duration))
- func (c *Controller) SetSongEndedFunc(f func(song *subsonic.Child))
- func (c *Controller) Stop()
- func (c *Controller) Stream(reader io.Reader, song *subsonic.Child)
- func (c *Controller) TogglePlayPause()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController() *Controller
func (*Controller) Close ¶
func (c *Controller) Close() error
func (*Controller) Playing ¶
func (c *Controller) Playing() bool
func (*Controller) SetSongElapsedFunc ¶
func (c *Controller) SetSongElapsedFunc(f func(elapsed time.Duration))
func (*Controller) SetSongEndedFunc ¶
func (c *Controller) SetSongEndedFunc(f func(song *subsonic.Child))
func (*Controller) Stop ¶
func (c *Controller) Stop()
func (*Controller) Stream ¶
func (c *Controller) Stream(reader io.Reader, song *subsonic.Child)
func (*Controller) TogglePlayPause ¶
func (c *Controller) TogglePlayPause()
Click to show internal directories.
Click to hide internal directories.