package
1.0.0
Repository: https://github.com/ethanv2/disdup.git
Documentation: pkg.go.dev

# Functions

NewCache creates a new cache object with provider p.

# Constants

Approximate maximum lifetime an attachment can live for without being cleaned up.
Threshold at which the attachments cache will begin to prune excess elements.

# Variables

Generic errors.
Generic errors.
Generic errors.
Generic errors.
Generic errors.

# Structs

An Attachment is a generic representation for an attachment downloaded from the Discord API.
Cache represents a cache of Discord API data objects.

# Interfaces

Provider is a data provider for discord users and channels.