The Wayback Machine - https://web.archive.org/web/20201008021535/https://github.com/c4milo/handlers
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Go HTTP Handlers

GoDoc Build Status

This repository contains HTTP middlewares that I use in my own Go projects. Feel free to use them too!

  • Compressor: Applies gzip compression to the response body, if the client supports it.
  • Logger: Logs HTTP requests, including: remote user, remote IP, latency, request id, txbytes, rxbytes, status, etc.
  • HTTP Method Override: Provides an alternative for clients that don't support methods other than POST or GET to override the HTTP method.
  • CSRF protection: Provides protection for endpoints from CSRF attacks.
  • Session: Secure cookie session management with external store support.
  • GRPCUtil: A convenient handler to initialize a gRPC server and OpenAPI proxy.

For examples on how to use these handlers, please refer to the Go documentation linked at the top.

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.