http_client

package
v0.4.34 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewWithAuth

func NewWithAuth(token *string) *http.Client

Returns an http client that includes an auth header if the token is not empty or nil

func NewWithHeaders

func NewWithHeaders(
	headers map[string]string,
) *http.Client

Returns a new http client that will send headers along with the request

Types

This section is empty.

Jump to

Keyboard shortcuts

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