httputil

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckURL

func CheckURL(u string) (bool, error)

CheckURL checks if the given signed URL exists by a HEAD http request. Non-existance doesn't fail with an error.

func DeleteURL

func DeleteURL(u string) error

DeleteURL deletes the target of the given signed URL.

func DownloadWriter

func DownloadWriter(u string, w io.Writer) error

DownloadWriter downloads content from the given signed URL to the given io Writer.

func UploadReader

func UploadReader(u string, content io.Reader) error

UploadReader uploads content to the given signed URL.

Types

This section is empty.

Jump to

Keyboard shortcuts

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