handlers

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 License: MIT Imports: 40 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Server

func Server(config Config) (handler http.Handler, closeFn func(), err error)

Types

type Config

type Config struct {
	LibraryDir   string
	LibraryOwner string

	BaseDataDir        string
	JobDataFile        string
	VideoDataFile      string
	FeedsDataFile      string
	FeedItemsDataFile  string
	FavouritesDataFile string

	PlexBaseURL string
	PlexToken   string

	YTDownloadCommand   []string
	YTDownloadSimulator bool

	TemplateFS fs.FS
	AssetFS    fs.FS
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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