utils

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadFile

func DownloadFile(ctx context.Context, url string, dest string, httpClient *http.Client, headers map[string]string) error

func DownloadFileToBytes

func DownloadFileToBytes(ctx context.Context, url string, httpClient *http.Client, headers map[string]string) ([]byte, error)

func ExtractTarballGz

func ExtractTarballGz(file string, dst string) error

func FileExists

func FileExists(name string) (bool, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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