updated godoc and renamed cors middleware handler

This commit is contained in:
Gani Georgiev
2024-11-21 22:22:58 +02:00
parent 31d3c27f43
commit 5d8a8dd7d8
3 changed files with 6 additions and 4 deletions

View File

@@ -18,7 +18,7 @@ const (
DefaultBodyLimitMiddlewarePriority = DefaultRateLimitMiddlewarePriority + 10
)
// BodyLimit returns a middleware function that changes the default request body size limit.
// BodyLimit returns a middleware handler that changes the default request body size limit.
//
// If limitBytes <= 0, no limit is applied.
//