Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
Cache provides a thread-safe LRU cache for HTTP responses
type Config ¶
type Config struct {
MaxSize int64 // Maximum cache size in bytes
MaxAge time.Duration // Maximum age of cached entries
}
Config defines cache configuration
Click to show internal directories.
Click to hide internal directories.