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 { DataMutex sync.RWMutex Data T Updated time.Time // contains filtered or unexported fields }
func (*Cache[T]) ServeHTTP ¶
func (c *Cache[T]) ServeHTTP() http.HandlerFunc
type CacheResponse ¶
Click to show internal directories.
Click to hide internal directories.