web

package
v0.0.0-...-3c85b78 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const HttpMethodGet = "GET"

Variables

This section is empty.

Functions

func BaseHandler

func BaseHandler(w http.ResponseWriter, r *http.Request)

BaseHandler Base route to access the API Documentation.

func DirectoryInfoHandler

func DirectoryInfoHandler(w http.ResponseWriter, r *http.Request)

func DiskInfoHandler

func DiskInfoHandler(w http.ResponseWriter, r *http.Request)

func Download

func Download(
	w http.ResponseWriter,
	diskName string,
	directoryName string,
	fileName string,
	variation string,
)

func EnvHandler

func EnvHandler(w http.ResponseWriter, _ *http.Request)

func FileInfoHandler

func FileInfoHandler(w http.ResponseWriter, r *http.Request)

func GetDirectories

func GetDirectories(
	w http.ResponseWriter,
	diskName string,
)

func GetDisks

func GetDisks(w http.ResponseWriter)

func GetFiles

func GetFiles(
	w http.ResponseWriter,
	diskName string,
	directoryName string,
)

func GetVariations

func GetVariations(
	w http.ResponseWriter,
	diskName string,
	directoryName string,
	fileName string,
)

func LatestFileHandler

func LatestFileHandler(w http.ResponseWriter, r *http.Request)

func StartServer

func StartServer()

Types

type RouteConfiguration

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

func GetInstance

func GetInstance() *RouteConfiguration

Jump to

Keyboard shortcuts

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