util

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatErrorList added in v0.0.7

func FormatErrorList(errList []error) error

func GetNextIP

func GetNextIP(ip *net.IP, inc uint) *net.IP

func HasErrors added in v0.0.7

func HasErrors(errList []error) bool

func MakeOutputDirectory

func MakeOutputDirectory(path string) (string, error)

func MakeRequest

func MakeRequest(client *http.Client, url string, httpMethod string, body []byte, headers map[string]string) (*http.Response, []byte, error)

Generic convenience function used to make HTTP requests.

func PathExists

func PathExists(path string) (bool, error)

func SplitPathForViper added in v0.0.7

func SplitPathForViper(path string) (string, string, string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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