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

Method Set

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

Source from the content-addressed store, hash-verified

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
19 GetList(ctx context.Context, page int, size int) ([]domain.Post, error)

Callers 15

addToBlacklistMethod · 0.65
invalidateSessionMethod · 0.65
CheckLoginMethod · 0.65
PostWithJsonStringFunction · 0.65
SetMethod · 0.65
GetMethod · 0.65
CacheDataFunction · 0.65
SetEmptyCacheMethod · 0.65
beforeCallbackMethod · 0.65
GetTopCommentsReplyMethod · 0.65
GetTopNMethod · 0.65
ReplaceTopNMethod · 0.65

Implementers 1

postCacheinternal/repository/cache/post.go

Calls

no outgoing calls

Tested by 1

TestSendCodeFunction · 0.52