downloadurl

package
v2.0.155-beta Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AmazonS3Date   = "X-Amz-Date"
	FilesDate      = "X-Files-Date"
	GoogleDate     = "X-Goog-Date"
	TimeDateFormat = "%Y%m%dT%H%M%SZ"
)

Variables

Functions

This section is empty.

Types

type URL

type URL struct {
	*url.URL
	time.Time
}

func New

func New(urlStr string) (d *URL, err error)

func (*URL) Valid

func (d *URL) Valid(within time.Duration) (remaining time.Duration, valid bool)

Jump to

Keyboard shortcuts

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