Documentation ¶ Index ¶ type YM func New(playlist *playlist.Playlist, search search.Engine, player player.Player, ...) *YM func (ym *YM) ExecPage(url string) ([]search.Result, error) func (ym *YM) ExecSearch(q string, amount int) ([]search.Result, error) func (ym *YM) Listen() error func (ym *YM) Play(queue <-chan *command.Command, current chan<- search.Result, ...) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type YM ¶ type YM struct { // contains filtered or unexported fields } func New ¶ func New( playlist *playlist.Playlist, search search.Engine, player player.Player, cache *cache.Cache, sock *net.TCPAddr, downloadPreflights int, ) *YM func (*YM) ExecPage ¶ func (ym *YM) ExecPage(url string) ([]search.Result, error) func (*YM) ExecSearch ¶ func (ym *YM) ExecSearch(q string, amount int) ([]search.Result, error) func (*YM) Listen ¶ func (ym *YM) Listen() error func (*YM) Play ¶ func (ym *YM) Play( queue <-chan *command.Command, current chan<- search.Result, status chan<- string, errs chan<- error, quit <-chan struct{}, ) error Source Files ¶ View all Source files ym.go Click to show internal directories. Click to hide internal directories.