string
.Returned value is only valid within the handler. Do not store any references. Make copies or use theImmutable
setting instead. Read more...β
json:"pass"
.application/x-www-form-urlencoded
multipart/form-data
application/json
application/xml
text/xml
Returned value is only valid within the handler. Do not store any references. Make copies or use theImmutable
setting instead. Read more...β
Returned value is only valid within the handler. Do not store any references. Make copies or use theImmutable
setting instead. Read more...β
attachment
.filename=
parameter is the file path (this typically appears in the browser dialog).Returned value is only valid within the handler. Do not store any references. Make copies or use theImmutable
setting instead. Read more...β
Returned value is only valid within the handler. Do not store any references. Make copies or use theImmutable
setting instead. Read more...β
Returned value is only valid within the handler. Do not store any references. Make copies or use theImmutable
setting instead. Read more...β
Returned value is only valid within the handler. Do not store any references. Make copies or use theImmutable
setting instead. Read more...β
GET
, POST
, PUT
, and so on.
Optionally, you could override the method by passing a string.MultipartForm()
. This returns a map[string][]string
, so given a key, the value will be a string slice.Returned value is only valid within the handler. Do not store any references. Make copies or use theImmutable
setting instead. Read more...β
""
), if the param doesn't exist.Returned value is only valid within the handler. Do not store any references. Make copies or use theImmutable
setting instead. Read more...β
0
), if the param doesn't exist.atoi
with ctx.Params