package
1.0.0
Repository: https://github.com/go-gitea/lgtm.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

Default creates an in-memory cache with the default 30 minute expiration period.
FromContext returns the Cache associated with this context.
Get is the function to retrieve values from the cache.
GetMembers returns the team members from the cache.
GetPerm returns the user permissions repositories from the cache associated with the current repository.
GetRepos returns the list of user repositories from the cache associated with the current context.
GetTeams returns the list of user teams from the cache associated with the current context.
NewTTL returns an in-memory cache with the specified ttl expiration period.
Set is the function to write values to the cache.
ToContext adds the Cache to this context if it supports the Setter interface.

# Interfaces

Cache provides a simple cache layer interface.
Setter defines a context that enables setting values.