Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache[T any] struct { // contains filtered or unexported fields }
func (*Cache[T]) ServeHTTP ¶
func (c *Cache[T]) ServeHTTP() http.HandlerFunc
Handle a GET request to load data from the given cache
func (*Cache[T]) StartPeriodicUpdate ¶
Click to show internal directories.
Click to hide internal directories.