package
0.0.131
Repository: https://github.com/kaydxh/golang.git
Documentation: pkg.go.dev

# Functions

CleanPath middleware will clean out double slash mistakes from a user's request path.
Timeout is a middleware that cancels ctx after a given timeout and return a 504 Gateway Timeout error to the client.

# Variables

DefaultTimeoutHandler is a convenient timeout handler which simply returns "504 Service timeout".