server

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2020 License: AGPL-3.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config added in v0.3.0

type Config struct {
	DeezerARL             string
	MusixMatchUserToken   string
	MusixMatchOBUserToken string
	YoutubeDeveloperKey   string
	SpotifyClientID       string
	SpotifyClientSecret   string
	RadioDisabled         bool
}

Config contains the API keys for Server

type Server

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

Server is a MusicStream server

func NewServer

func NewServer(config Config) *Server

NewServer returns a new server

func (*Server) Serve

func (s *Server) Serve(addr string) (err error)

Serve starts the server, listening at addr

Jump to

Keyboard shortcuts

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