package
0.0.0-20240818082322-bf444b6b109a
Repository: https://github.com/opcotech/elemo.git
Documentation: pkg.go.dev

# Functions

NewCachedAssignmentRepository returns a new CachedAssignmentRepository.
NewCachedAttachmentRepository returns a new CachedAttachmentRepository.
NewCachedCommentRepository returns a new CachedCommentRepository.
NewCachedDocumentRepository returns a new CachedDocumentRepository.
NewCachedIssueRepository returns a new CachedIssueRepository.
NewCachedLabelRepository returns a new CachedLabelRepository.
NewCachedNamespaceRepository returns a new CachedNamespaceRepository.
NewCachedNotificationRepository returns a new CachedNotificationRepository.
NewCachedOrganizationRepository returns a new CachedOrganizationRepository.
NewCachedPermissionRepository returns a new CachedPermissionRepository.
NewCachedProjectRepository returns a new CachedProjectRepository.
NewCachedRoleRepository returns a new CachedRoleRepository.
NewCachedTodoRepository returns a new CachedTodoRepository.
NewCachedUserRepository returns a new CachedUserRepository.
NewClient creates a new Redis client.
NewDatabase creates a new Redis database.
WithClient sets the client for a Redis database.
WithDatabase sets the baseRepository for a baseRepository.
WithDatabaseLogger sets the logger for a Neo4j database.
WithDatabaseTracer sets the tracer for a Neo4j database.
WithRepositoryLogger sets the logger for a baseRepository.
WithRepositoryTracer sets the tracer for a baseRepository.

# Variables

received cache resource was not expected.

# Structs

CachedAssignmentRepository implements caching on the repository.AssignmentRepository.
CachedAttachmentRepository implements caching on the repository.AttachmentRepository.
CachedCommentRepository implements caching on the repository.CommentRepository.
CachedDocumentRepository implements caching on the repository.DocumentRepository.
CachedIssueRepository implements caching on the repository.IssueRepository.
CachedLabelRepository implements caching on the repository.LabelRepository.
CachedNamespaceRepository implements caching on the repository.NamespaceRepository.
CachedNotificationRepository implements caching on the repository.NotificationRepository.
CachedOrganizationRepository implements caching on the repository.OrganizationRepository.
CachedPermissionRepository implements cache clearing on resources that are related dependent on permission changes.
CachedProjectRepository implements caching on the repository.ProjectRepository.
CachedRoleRepository implements caching on the repository.RoleRepository.
CachedTodoRepository is implements caching on the repository.TodoRepository.
CachedUserRepository implements caching on the repository.UserRepository.
Database represents a Redis database, wrapping a redis connection.

# Interfaces

CacheBackend represents a cache backend.

# Type aliases

DatabaseOption configures a Redis database.
RepositoryOption configures a baseRepository for a Neo4j baseRepository.