sanitize

package
v3.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2025 License: BSD-3-Clause Imports: 3 Imported by: 3

README

go-http/v3/sanitize

See also

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBool

func GetBool(req *http.Request, param string) (bool, error)

func GetFloat64 added in v3.1.1

func GetFloat64(req *http.Request, param string) (float64, error)

func GetInt added in v3.1.1

func GetInt(req *http.Request, param string) (int, error)

func GetInt64

func GetInt64(req *http.Request, param string) (int64, error)

func GetString

func GetString(req *http.Request, param string) (string, error)

func HeaderBool

func HeaderBool(req *go_http.Request, param string) (bool, error)

func HeaderInt64

func HeaderInt64(req *go_http.Request, param string) (int64, error)

func HeaderString

func HeaderString(req *go_http.Request, param string) (string, error)

func PostBool

func PostBool(req *http.Request, param string) (bool, error)

func PostFloat64 added in v3.1.1

func PostFloat64(req *http.Request, param string) (float64, error)

func PostInt added in v3.1.1

func PostInt(req *http.Request, param string) (int, error)

func PostInt64

func PostInt64(req *http.Request, param string) (int64, error)

func PostString

func PostString(req *http.Request, param string) (string, error)

func RequestBool added in v3.1.1

func RequestBool(req *http.Request, param string) (bool, error)

func RequestFloat64 added in v3.1.1

func RequestFloat64(req *http.Request, param string) (float64, error)

func RequestInt added in v3.1.1

func RequestInt(req *http.Request, param string) (int, error)

func RequestInt64

func RequestInt64(req *http.Request, param string) (int64, error)

func RequestString

func RequestString(req *http.Request, param string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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