util

package
v0.0.0-...-8df2434 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HTTPRequest

func HTTPRequest[T interface{}](method, uri string, query map[string]string,
	headers map[string]string, body io.Reader, response *T) error

HTTPRequest will make an HTTP `method` request to `uri`, and include `query` as the query params, `headers` as the headers and `body` as the body. It will parse the result into the response

Types

This section is empty.

Jump to

Keyboard shortcuts

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