param

package
v1.3.7 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BindJson

func BindJson(r *http.Request, obj interface{}) error

func Bool

func Bool(r *http.Request, key string, defVal bool) bool

func Float64

func Float64(r *http.Request, key string, defVal float64) float64

func Int

func Int(r *http.Request, key string, defVal int) int

func Int64

func Int64(r *http.Request, key string, defVal int64) int64

func MustBool

func MustBool(r *http.Request, key string) bool

func MustFloat64

func MustFloat64(r *http.Request, key string, displayName ...string) float64

func MustInt

func MustInt(r *http.Request, key string, displayName ...string) int

func MustInt64

func MustInt64(r *http.Request, key string, displayName ...string) int64

func MustString

func MustString(r *http.Request, key string, displayName ...string) string

func String

func String(r *http.Request, key string, defVal string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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