httputil

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bind

func Bind[V any](req *http.Request, v V) error

Bind parse the request body as JSON or form data and store it in v.

func BindResp

func BindResp[V any](res *http.Response, v V) error

BindResp parse the response body as JSON and store it in v.

Types

This section is empty.

Jump to

Keyboard shortcuts

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