package
7.4.0+incompatible
Repository: https://github.com/go-siris/siris.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
Package ruleset provides the basics rules which are being extended by rules.
No description provided by the author

# Functions

Cache accepts two parameters first is the context.Handler which you want to cache its result the second is, optional, the cache Entry's expiration duration if the expiration <=2 seconds then expiration is taken by the "cache-control's maxage" header returns context.Handler, which you can use as your default router or per-route handler All type of responses are cached, templates, json, text, anything.
Handler accepts one single parameter: the cache Entry's expiration duration if the expiration <=2 seconds then expiration is taken by the "cache-control's maxage" header returns context.Handler.
WrapHandler accepts two parameters first is the context.Handler which you want to cache its result the second is, optional, the cache Entry's expiration duration if the expiration <=2 seconds then expiration is taken by the "cache-control's maxage" header returns context.Handler, which you can use as your default router or per-route handler All type of responses are cached, templates, json, text, anything.

# Variables

NoCache called when a particular handler is not valid for cache.