aboutsummaryrefslogtreecommitdiff
path: root/userdata.go
AgeCommit message (Collapse)AuthorFilesLines
2024-03-02Enable few gocritic checks; fix up issues (#1728)Gravatar Oleksandr Redko 1-1/+1
2023-11-24chore: Use 'any' instead of 'interface{}' (#1666)Gravatar Oleksandr Redko 1-7/+7
gofmt -w -r "interface{} -> any" -l .
2023-08-29Enable gocritic linter; fix lint issues (#1612)Gravatar Oleksandr Redko 1-1/+2
2022-10-06make RequestCtx's userdata accept keys that are of type: interface{} (#1387)Gravatar pj 1-12/+21
Co-authored-by: rocketlaunchr-cto <rocketlaunchr.cloud@gmail.com>
2022-05-11Fix userdata re-use after RemoveGravatar Erik Dubbelboer 1-1/+1
See also: https://github.com/valyala/fasthttp/pull/1298
2021-10-08feat: a new userData API `Remove` (#1117)Gravatar tyltr 1-0/+21
* feat:userData new api "delete" * ctx api `remove` * rename * modify
2021-10-06feat:no need to store nil (#1116)Gravatar tyltr 1-0/+3
* feat:no need to store nil * lint
2016-03-29Renamed unsafeBytes2Str to b2sGravatar Aliaksandr Valialkin 1-2/+2
2016-02-05Call Close on user values stored via RequestCtx.SetUserValue if these values ↵Gravatar Aliaksandr Valialkin 1-0/+12
implement io.Closer
2015-12-11Moved ctx.UserValue from standard map to custom userData. This should ↵Gravatar Aliaksandr Valialkin 1-0/+59
improve its' performance for common case when ctx contains up to 10 user values