Documentation ¶
Overview ¶
Package cache is an in-memory LRU cache middleware
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConfig = Config{ Skipper: middleware.DefaultSkipper, Cache: nil, Headers: []string{"Content-Type"}, Prefix: "", }
Functions ¶
func NewWithConfig ¶
func NewWithConfig(config Config) echo.MiddlewareFunc
Types ¶
Click to show internal directories.
Click to hide internal directories.