tar

package
v0.0.0-...-0795abe Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Download

func Download(url string, path string) error

func DownloadGz

func DownloadGz(url string, path string) error

Types

type TarError

type TarError struct {
	Err error
}

func NewTarError

func NewTarError(err error) *TarError

func (TarError) Error

func (e TarError) Error() string

type UnexpectedStatusCodeError

type UnexpectedStatusCodeError struct {
	StatusCode int
}

func NewUnexpectedStatusCodeError

func NewUnexpectedStatusCodeError(statusCode int) *UnexpectedStatusCodeError

func (UnexpectedStatusCodeError) Error

Jump to

Keyboard shortcuts

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