Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 ¶
func (dc *DownloadController) Status(w http.ResponseWriter, r *http.Request)
Status is the HTTP handler for status request
Click to show internal directories.
Click to hide internal directories.