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

Method Get

internal/repository/cache/post.go:15–15  ·  view source on GitHub ↗
(ctx context.Context, key string)

Source from the content-addressed store, hash-verified

13
14type PostCache interface {
15 Get(ctx context.Context, key string) (domain.Post, error)
16 Set(ctx context.Context, key string, post domain.Post) error
17 Del(ctx context.Context, key string) error
18 PreHeat(ctx context.Context, posts []domain.Post) error

Callers 15

CheckCasbinMethod · 0.65
LogMethod · 0.65
GetMethod · 0.65
QueryDataFunction · 0.65
afterCallbackMethod · 0.65
GetTopCommentsReplyMethod · 0.65
GetTopNMethod · 0.65
GetPostByIdMethod · 0.65
FindByIDMethod · 0.65
DeleteUserMethod · 0.65
UpdateProfileMethod · 0.65
GetLotteryDrawMethod · 0.65

Implementers 1

postCacheinternal/repository/cache/post.go

Calls

no outgoing calls

Tested by

no test coverage detected