Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateETag ¶
Types ¶
type CacheOpts ¶ added in v0.0.24
type CacheOpts struct { MaxAge time.Duration SWR time.Duration MaxItems int GetterFunc GetterFunc // RequestToKeyFunc default is r.URL.Path // If you want to take into account search params, pass a custom func RequestToKeyFunc RequestToKeyFunc }
type RequestToKeyFunc ¶
Click to show internal directories.
Click to hide internal directories.