MCPcopy Create free account
hub / github.com/GoSimplicity/LinkMe / CommentCache

Interface CommentCache

internal/repository/cache/comment.go:13–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11)
12
13type CommentCache interface {
14 Get(ctx context.Context, postId int64) (domain.Comment, error)
15 Set(ctx context.Context, du domain.Comment) error
16}
17
18type commentCache struct {
19 cmd redis.Cmdable

Callers 2

GetMethod · 0.65
SetMethod · 0.65

Implementers 7

CacheManagerpkg/cachep/local/local.go
commentCacheinternal/repository/cache/comment.go
rankingCacheinternal/repository/cache/ranking.go
postCacheinternal/repository/cache/post.go
rankingLocalCacheinternal/repository/cache/local.go
interactiveCacheinternal/repository/cache/interactive.
userCacheinternal/repository/cache/user.go

Calls

no outgoing calls

Tested by

no test coverage detected