package
0.0.0-20240815154250-7cb85a9cfeee
Repository: https://github.com/holedaemon/bot2.git
Documentation: pkg.go.dev

# Functions

New creates a new cache.
WithHTTPClient specifies the HTTP Client to use for image downloading.
WithTTL sets the TTL on the cache.

# Variables

ErrContentType is returned when a unrecognized Content-Type is found.

# Structs

Cache is used to temporarily cache images in memory.

# Type aliases

Option configures a Cache.