package
0.0.0-20240528123408-96b4dbef904e
Repository: https://github.com/wurt83ow/tinyurl.git
Documentation: pkg.go.dev
# Functions
NewCompressReader creates a new CompressReader using the provided io.ReadCloser.
NewCompressWriter creates a new CompressWriter using the provided http.ResponseWriter.
# Structs
CompressReader implements the io.ReadCloser interface and allows to transparently decompress the data received from the client for the server.
CompressWriter implements the http.ResponseWriter interface and allows it to be transparent to the server compress transmitted data and set correct HTTP headers.