forms

package
v0.31.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Code generated DO NOT EDIT

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)

func FormValueBool

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

func FormValueFloat

func FormValueFloat(req *http.Request, key string, bitSize int) (float64, error)

func FormValueFloat32

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

func FormValueInt

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

func FormValueInt16

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

func FormValueInt32

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

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