models

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: 0 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DownloadRequest

type DownloadRequest struct {
	Type string   `json:"type"`
	URLs []string `json:"urls"`
}

DownloadRequest : for download request payload

type DownloadResponse

type DownloadResponse struct {
	ID string `json:"id"`
}

DownloadResponse : for response of download request

type StatusResponse

type StatusResponse struct {
	ID           string            `json:"id"`
	StartTime    string            `json:"start_time"`
	EndTime      string            `json:"end_time"`
	Status       string            `json:"status"`
	DownloadType string            `json:"download_type"`
	Files        map[string]string `json:"files"`
}

StatusResponse : for response of status request

Jump to

Keyboard shortcuts

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