mirrors

package
v1.24.2 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindUrlMirrors

func FindUrlMirrors(u string) []string

Types

type MirroredAsset added in v1.20.0

type MirroredAsset struct {
	Locations []string
	Hash      *hashing.Hash
}

func BuildMirroredAsset added in v1.20.0

func BuildMirroredAsset(u *url.URL, hash *hashing.Hash) *MirroredAsset

BuildMirroredAsset checks to see if this is a file under the standard base location, and if so constructs some mirror locations

func (*MirroredAsset) CompactString added in v1.20.0

func (a *MirroredAsset) CompactString() string

Jump to

Keyboard shortcuts

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