client

package
v0.0.0-...-d09ec23 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 18, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func Dial

func Dial(network, addr string) (*Client, error)

func (*Client) Close

func (c *Client) Close() error

func (*Client) Song

func (c *Client) Song() Song

func (*Client) Watch

func (c *Client) Watch(interval time.Duration, toSubmit chan Song, nowPlaying chan Song)

type Song

type Song struct {
	Artist      string
	Album       string
	AlbumArtist string
	Title       string
	Start       time.Time
}

func (Song) String

func (s Song) String() string

Directories

Path Synopsis
Package mpd provides the client side interface to MPD (Music Player Daemon).
Package mpd provides the client side interface to MPD (Music Player Daemon).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL