server

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2020 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options added in v0.5.0

type Options struct {
	DB           *db.DB
	MusicPath    string
	CachePath    string
	ListenAddr   string
	ScanInterval time.Duration
	ProxyPrefix  string
}

type Server

type Server struct {
	*http.Server
	// contains filtered or unexported fields
}

func New

func New(opts Options) *Server

func (*Server) Start

func (s *Server) Start() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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