helpers

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2023 License: MIT Imports: 8 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddAppHeaders

func AddAppHeaders(req *http.Request)

func AddUserHeaders

func AddUserHeaders(jwtToken string, req *http.Request)

func CloseBody

func CloseBody(Body io.ReadCloser)

func GetRequestBody

func GetRequestBody(obj interface{}) (string, error)

func GetRoute

func GetRoute(route string, args ...string) (string, error)

func MakeRequest

func MakeRequest(req *http.Request) (*http.Response, error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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