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

Method DelPub

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

Source from the content-addressed store, hash-verified

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)
30}

Callers 2

refreshPubCacheMethod · 0.65
refreshAllCacheMethod · 0.65

Implementers 1

postCacheinternal/repository/cache/post.go

Calls

no outgoing calls

Tested by

no test coverage detected