binding

package
v1.0.20 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2023 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BindForm

func BindForm(req *http.Request, target any) error

BindForm bind form parameters to target.

func BindQuery

func BindQuery(vars url.Values, target any) error

BindQuery bind vars parameters to target.

func EncodeURL

func EncodeURL(pathTemplate string, msg any, needQuery bool) string

EncodeURL encode proto message to url path.

Types

This section is empty.

Jump to

Keyboard shortcuts

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