forms

package
v0.38.1 Latest Latest
Warning

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

Go to latest
Published: May 16, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KiB = 1 << 10
	MiB = 1 << 20

	MinimumFormSize = 4 * KiB
	DefaultFormSize = 1 * MiB
)

Variables

This section is empty.

Functions

func FormValue

func FormValue(req *http.Request, key string) (string, error, bool)

func FormValueBool

func FormValueBool(req *http.Request, key string) (bool, error, bool)

func FormValueFloat32

func FormValueFloat32(req *http.Request, key string) (float32, error, bool)

func FormValueInt

func FormValueInt(req *http.Request, key string, base int) (int, error, bool)

func FormValueInt16

func FormValueInt16(req *http.Request, key string, base int) (int16, error, bool)

func FormValueInt32

func FormValueInt32(req *http.Request, key string, base int) (int32, error, bool)

func FormValueInt8

func FormValueInt8(req *http.Request, key string, base int) (int8, error, bool)

func FormValueUint

func FormValueUint(req *http.Request, key string, base int) (uint, error, bool)

func FormValueUint16

func FormValueUint16(req *http.Request, key string, base int) (uint16, error, bool)

func FormValueUint32

func FormValueUint32(req *http.Request, key string, base int) (uint32, error, bool)

func FormValueUint8

func FormValueUint8(req *http.Request, key string, base int) (uint8, error, bool)

func ParseForm

func ParseForm(req *http.Request, size int64) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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