Documentation ¶ Index ¶ func AdjustSize() func Init() type ErrCache func NewErrCache(expiration time.Duration) *ErrCache func (e *ErrCache) Get(key string) error func (e *ErrCache) Resize(expiration time.Duration) func (e *ErrCache) Set(key string, err error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func AdjustSize ¶ func AdjustSize() func Init ¶ func Init() Types ¶ type ErrCache ¶ type ErrCache struct { // contains filtered or unexported fields } var DownloadErrors *ErrCache func NewErrCache ¶ func NewErrCache(expiration time.Duration) *ErrCache func (*ErrCache) Get ¶ func (e *ErrCache) Get(key string) error func (*ErrCache) Resize ¶ func (e *ErrCache) Resize(expiration time.Duration) func (*ErrCache) Set ¶ func (e *ErrCache) Set(key string, err error) Source Files ¶ View all Source files cache.go init.go Click to show internal directories. Click to hide internal directories.