api

package
v0.3.8 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2023 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDownloadHandler

func NewDownloadHandler(idx fileindex.Index) *downloadHandler

func NewFoldersHandler

func NewFoldersHandler(conf *config.Config) *foldersHandler

func NewSingleAssetHandler

func NewSingleAssetHandler(path string) *singleAssetHandler

func Setup

func Setup(conf *config.Config)

Types

type DebugHandlerWrapper

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

func NewDebugHandlerWrapper

func NewDebugHandlerWrapper(handler http.Handler) *DebugHandlerWrapper

func (*DebugHandlerWrapper) ServeHTTP

func (s *DebugHandlerWrapper) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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