httphelper

package
v0.0.38 Latest Latest
Warning

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

Go to latest
Published: May 18, 2022 License: MIT Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DumpResponse

func DumpResponse(resp *http.Response) error

DumpResponse dumps the body of the specified response to stdout

func SetBearerTokenHeader

func SetBearerTokenHeader(req *http.Request, token string)

SetBearerTokenHeader sets the Authorization header with the specified bearer token

Types

This section is empty.

Jump to

Keyboard shortcuts

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