api

package
v0.0.0-...-14567d9 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileInfo

type FileInfo struct {
	//Sha256 of file
	Sha256 string `json:"sha256,omitempty"`
	//Size of file in bytes
	Size int64 `json:"size,omitempty"`
	//FileName is link for access file
	FileName string `json:"filename,omitempty"`
	//ISReady indicates status of image
	ISReady bool `json:"ready"`
	//Error contains errors
	Error string `json:"error,omitempty"`
}

FileInfo contains information about downloading or downloaded file

type URLArg

type URLArg struct {
	//URL contains link to file
	URL string `json:"url,omitempty"`
}

URLArg is packet to send into eserver for downloading of external file

Jump to

Keyboard shortcuts

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