mirror of
https://github.com/kataras/iris.git
synced 2025-12-21 11:57:02 +00:00
update core deps
This commit is contained in:
2
cache/client/handler.go
vendored
2
cache/client/handler.go
vendored
@@ -31,7 +31,7 @@ type Handler struct {
|
||||
|
||||
type MaxAgeFunc func(*context.Context) time.Duration
|
||||
|
||||
// NewHandler returns a new cached handler for the "bodyHandler"
|
||||
// NewHandler returns a new Server-side cached handler for the "bodyHandler"
|
||||
// which expires every "expiration".
|
||||
func NewHandler(maxAgeFunc MaxAgeFunc) *Handler {
|
||||
return &Handler{
|
||||
|
||||
Reference in New Issue
Block a user