transfer

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2024 License: Unlicense Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FilenameFromUrl

func FilenameFromUrl(URL string) string

func GetWriter

func GetWriter(output string, dir string, force bool) (out io.WriteCloser, err error)

Types

type DlResponse added in v0.1.8

type DlResponse struct {
	DlUrl      string `json:"dl_url"`
	DlSize     int    `json:"dl_size"`
	DlFilename string `json:"dl_filename"`
}

func GetDlResponse added in v0.1.8

func GetDlResponse(URL string) (resp *http.Response, r DlResponse, err error)

Jump to

Keyboard shortcuts

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