Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NoCacheMiddleware = CacheControlMiddleware("no-store", true)
Functions ¶
func CacheControlMiddleware ¶
func DeliverFile ¶
Types ¶
type CacheConfig ¶
type CacheMiddleware ¶
type CacheMiddleware struct {
// contains filtered or unexported fields
}
func NewCacheMiddleware ¶
func NewCacheMiddleware(cfg CacheConfig) *CacheMiddleware
func (*CacheMiddleware) Middleware ¶
func (m *CacheMiddleware) Middleware() echo.MiddlewareFunc
type KeyLock ¶
type KeyLock[T comparable] struct { // contains filtered or unexported fields }
func NewKeyLock ¶
func NewKeyLock[T comparable]() *KeyLock[T]
Click to show internal directories.
Click to hide internal directories.