controllers

package
v0.0.0-...-1c8973f Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2019 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Health

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

Health is the HTTP handler for health request

Types

type DownloadController

type DownloadController struct {
	DownloadMgr *downloader.Manager
}

DownloadController handles various download APIs

func (*DownloadController) Download

func (dc *DownloadController) Download(w http.ResponseWriter, r *http.Request)

Download is the HTTP handler for download request

func (*DownloadController) Status

Status is the HTTP handler for status request

Jump to

Keyboard shortcuts

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