package
0.0.0-20241027210334-41bbf5e38139
Repository: https://github.com/axmdv/go-url-shortener.git
Documentation: pkg.go.dev
# Functions
GzipMiddleware provides gzip compressing http.Response and decompressing gzip-encoded data from http.Request.
SignUpMiddleware sets cookie to http.ResponseWriter if http.Request doesn`t have necessary cookie or cookie is invalid.
ValidateUserMiddleware validates http.Cookie of a http.Request.
WithLogging logs information about request and response and returns a new http.Handler.