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

Function NewRefreshCacheTask

internal/job/refresh_cache.go:25–30  ·  view source on GitHub ↗
(cache cache.PostCache, l *zap.Logger)

Source from the content-addressed store, hash-verified

23}
24
25func NewRefreshCacheTask(cache cache.PostCache, l *zap.Logger) *RefreshCacheTask {
26 return &RefreshCacheTask{
27 cache: cache,
28 l: l,
29 }
30}
31
32type Payload struct {
33 Key string `json:"key"`

Callers 1

InitWebServerFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected