Web Frameworks / Middlewares

23 packages

Packages (23)

negroni

Idiomatic HTTP middleware for Golang.

7,535 577

alice

Painless middleware chaining for Go.

3,347 152

CORS

Easily add CORS capabilities to your API.

2,869 229

Tollbooth

Rate limit HTTP request handler.

2,855 207

Limiter

Dead simple rate limit middleware for Go.

2,328 162

render

Go package for easily rendering JSON, XML, and HTML template responses.

1,991 147

stats

Go middleware that stores various information about your web application.

594 50

go-fault

Fault injection middleware for Go.

549 24

interpose

Minimalist net/http middleware for golang.

293 16

renderer

Simple, lightweight and faster response (JSON, JSONP, XML, YAML, HTML, File) rendering package for Go.

261 28

muxchain

Lightweight middleware for net/http.

206 9

ln-paywall

Go middleware for monetizing APIs on a per-request basis with the Lightning Network (Bitcoin).

155 8

gores

Go package that handles HTML, JSON, XML and etc. responses. Useful for RESTful APIs.

106 4

XFF

Handle `X-Forwarded-For` header and friends.

100 26

mediary

add interceptors to `http.Client` to allow dumping/shaping/tracing/... of requests/responses.

88 6

rk-grpc

Middleware for gRPC with logging, metrics, auth, tracing etc.

81 20

chain

Handler wrapper chaining with scoped data (net/context-based "middleware").

61 3

rk-gin

Middleware for Gin framework with logging, metrics, auth, tracing etc.

51 17

formjson

Transparently handle JSON input as a standard form POST.

38 4

echo-middleware

Middleware for Echo framework with logging and metrics.

16 4

mid

Miscellaneous HTTP middleware features: idiomatic error return from handlers; receive/respond with JSON data; request tracing; and more.

10 1

catena

http.Handler wrapper catenation (same API as "chain").

9 2