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

Method GetPub

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

Source from the content-addressed store, hash-verified

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

Callers 1

GetPublishPostByIdMethod · 0.65

Implementers 1

postCacheinternal/repository/cache/post.go

Calls

no outgoing calls

Tested by

no test coverage detected