server

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package server implements a fake MPD server that's used to test gompd client.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Listen

func Listen(network, addr string, listening chan bool)

Listen starts the server on the network network and address addr. Once the server has started, a value is sent to listening channel.

Types

type Attrs

type Attrs map[string]string

Attrs is a set of attributes returned by MPD.

Jump to

Keyboard shortcuts

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