package
0.4.0
Repository: https://github.com/whitef0x0/trendinggitlab.git
Documentation: pkg.go.dev

# Functions

NewBackend returns a new connection pool based on the requested storage engine.

# Constants

GreyListTTL defined the TTL of a repository in seconds: 30 days (~30 days).
RedisOK is the standard response of a Redis server if everything went fine ("OK").

# Structs

MemoryConnection represents a in memory connection.
MemoryPool is the pool of connections to your local memory ;).
MemoryStorage represents the in memory storage engine.
RedisConnection represents a single connection to a redis instance.
RedisPool is the connection pool to a redis instance.
RedisStorage represents the storage engine based on the Redis project / server.

# Interfaces

Connection represents a single connection out of a pool from a storage type.
Pool is the implementation of a specific storage type.
Storage represents a new storage type.

# Type aliases

MemoryStorageContainer is the backend of the "in memory" storage engine.