cache

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 11, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CacheHealthStore

type CacheHealthStore interface {
	Ping(ctx context.Context) error
}

CacheHealthStore is used for cache readiness checks.

type UserCacheStore

type UserCacheStore interface {
	GetByID(ctx context.Context, id int64) (user repodb.User, found bool, err error)
	SetByID(ctx context.Context, id int64, user repodb.User) error
	DeleteByID(ctx context.Context, id int64) error
}

UserCacheStore caches user lookups to reduce database load.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL