Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheHealthStore ¶
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.
Click to show internal directories.
Click to hide internal directories.