web

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Serve

func Serve(directory string, globs ...string) error

Serve will load audio from a directory using any number of file globs. This function blocks.

func SetAuth added in v1.0.4

func SetAuth(auth string)

SetAuth will require authentication for all web requests. The authentication string should be in the format "username:password" which will be used for basic authentication. The values will not be stored in memory, rather their hashes will.

Types

This section is empty.

Jump to

Keyboard shortcuts

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