MCPcopy Create free account
hub / github.com/kataras/iris / PostValueUint64

Method PostValueUint64

context/context.go:2047–2054  ·  view source on GitHub ↗

PostValueUint returns the last parsed form data matches the given "name" key from POST, PATCH, or PUT body request parameters as unassigned number. See ErrEmptyForm, ErrNotFound and ErrEmptyFormField respectfully.

(name string)

Source from the content-addressed store, hash-verified

2045//
2046// See ErrEmptyForm, ErrNotFound and ErrEmptyFormField respectfully.
2047func (ctx *Context) PostValueUint64(name string) (uint64, error) {
2048 value, err := ctx.PostValueString(name)
2049 if err != nil {
2050 return 0, err
2051 }
2052
2053 return strParseUint64(value)
2054}
2055
2056// PostValueInt returns the last parsed form data matches the given "name" key
2057// from POST, PATCH, or PUT body request parameters as signed number.

Callers

nothing calls this directly

Calls 2

PostValueStringMethod · 0.95
strParseUint64Function · 0.85

Tested by

no test coverage detected