handlers

package
v0.0.0-...-5fbe450 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DashPlayHandler

type DashPlayHandler struct {
	BaseDir string
}

func (*DashPlayHandler) ServeHTTP

func (l *DashPlayHandler) ServeHTTP(w http.ResponseWriter, req *http.Request)

type FileDeleteHandler

type FileDeleteHandler struct {
	BaseDir string
}

UploadHandler handles for http delete

func (*FileDeleteHandler) ServeHTTP

func (d *FileDeleteHandler) ServeHTTP(w http.ResponseWriter, req *http.Request)

type FileDownloadHandler

type FileDownloadHandler struct {
	StartTime time.Time
	BaseDir   string
}

func (*FileDownloadHandler) ServeHTTP

func (l *FileDownloadHandler) ServeHTTP(w http.ResponseWriter, req *http.Request)

type FileUploadHandler

type FileUploadHandler struct {
	BaseDir string
}

UploadHandler handles for http upload

func (*FileUploadHandler) ServeHTTP

func (u *FileUploadHandler) ServeHTTP(w http.ResponseWriter, req *http.Request)

Jump to

Keyboard shortcuts

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