handler

package
v0.0.0-...-36feab7 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DownloadHandler

type DownloadHandler struct {
	core.Handler
	// contains filtered or unexported fields
}

DownloadHandler is a http.Handler used to download media.

func NewDownloadHandler

func NewDownloadHandler(client media.Client) *DownloadHandler

NewDownloadHandler returns a new instance of DownloadHandler.

func (*DownloadHandler) ServeHTTP

func (h *DownloadHandler) 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