Arun Gopalpuri
1a6ec73e57
using url.EscapedPath instead of custom GetPath, rewritePath func added to middleware - used by proxy and rewrite
2020-08-31 13:09:24 -07:00
Alex Ungur
6d9e043284
Introduced Go module support as v4, removed obsolete CloseNotifier() mechanism
...
This reintroduces support for Go modules, as v4.
CloseNotifier() is removed as it has been obsoleted, see https://golang.org/doc/go1.11#net/http
It was already NOT working (not sending signals) as of 1.11 the functionality was gone, we merely
deleted the functions that exposed it. If anyone still relies on it they should migrate to using
`c.Request().Context().Done()` instead.
Closes #1268 , #1255
2019-01-30 16:11:42 +02:00
Vishal Rana
61084e242e
JWT BeforeFunc, SuccessHandler & ErrorHandler
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2018-06-28 20:42:18 -07:00
Vishal Rana
9ae7047759
Rewrite rules for proxy middleware
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-12-27 15:14:44 -08:00
Vishal Rana
a098bcd3b0
Updated docs
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-02-19 13:02:10 -08:00
Vishal Rana
52fa135fd5
Updated docs, exposed middleware.DefaultSkipper
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-01-28 11:46:43 -08:00
Vishal Rana
27f9b326b8
Ability to skip a middleware via callback
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-07-27 09:34:44 -07:00
Vishal Rana
3cd1d5be65
Fixed sync.Pool
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-02-08 17:26:00 -08:00
Vishal Rana
65fcca2ce3
Middleware interface
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-02-07 23:02:37 -08:00
Vishal Rana
1ee3bc23e3
Added gzip middleware
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-15 12:29:14 -07:00
Vishal Rana
69a97671ad
Adding http basic authentication middleware
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-11 15:43:54 -07:00
Vishal Rana
99124cda0a
Wrap method for using third party middleware
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-03-21 14:59:09 -07:00
Vishal Rana
7c9a0b6489
initial commit
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-03-01 09:45:13 -08:00