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

Method SetPub

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

Source from the content-addressed store, hash-verified

24 DelPubList(ctx context.Context, key string) error
25 GetPub(ctx context.Context, key string) (domain.Post, error)
26 SetPub(ctx context.Context, key string, post domain.Post) error
27 DelPub(ctx context.Context, key string) error
28 SetEmpty(ctx context.Context, key string) error
29 IsEmpty(ctx context.Context, key string) (bool, error)

Callers 1

GetPublishPostByIdMethod · 0.65

Implementers 1

postCacheinternal/repository/cache/post.go

Calls

no outgoing calls

Tested by

no test coverage detected