package
0.7.3
Repository: https://github.com/made2591/drone.git
Documentation: pkg.go.dev

# Functions

Default creates an in-memory cache with the default 30 minute expiration period.
No description provided by the author
DeleteRepos evicts the cached user repositories from the cache associated with the current context.
FromContext returns the Cache associated with this context.
No description provided by the author
GetPerms returns the user permissions repositories from the cache associated with the current repository.
GetRepoMap returns the list of user repositories from the cache associated with the current context in a map structure.
GetRepos returns the list of user repositories from the cache associated with the current context.
GetTeamPerms returns the user permissions from the cache associated with the current organization.
NewTTL returns an in-memory cache with the specified ttl expiration period.
No description provided by the author
ToContext adds the Cache to this context if it supports the Setter interface.

# Interfaces

No description provided by the author
Setter defines a context that enables setting values.