netutil

package
v3.1.2 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: EUPL-1.2 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisplayURL

func DisplayURL(u *url.URL) string

func DownloadTmpFile added in v3.1.1

func DownloadTmpFile(url *url.URL, headers map[string]string) (string, error)

Caller is responsible for removing the temporary directory.

func IsValidURL

func IsValidURL(toTest string) (bool, *url.URL)

IsValidURL tests a string to determine if it is a well-structured url or not.

Types

This section is empty.

Jump to

Keyboard shortcuts

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