util

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HTTPGet

func HTTPGet(url string, insecure bool) ([]byte, error)

HTTPGet is a simple HTTP client function to return page body

func HTTPPost added in v0.2.3

func HTTPPost(url string, insecure bool, payload []byte) ([]byte, error)

HTTPPost performs an HTTP POST to the target URL and includes auth parameters, ignoring certificates, etc

Types

This section is empty.

Jump to

Keyboard shortcuts

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