links

package
v3.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2025 License: MIT Imports: 4 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildDownloadLink(link string, defaultURL *url.URL) (string, error)

Types

type Builder

type Builder struct {
	URL *url.URL
}

func FromHeadersOrDefault

func FromHeadersOrDefault(h *http.Header, defaultURL *url.URL) *Builder
func (b *Builder) BuildLink(link string) (string, error)

func (*Builder) BuildURL

func (b *Builder) BuildURL(oldURL *url.URL) *url.URL

Jump to

Keyboard shortcuts

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