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

Method GenerateCacheKey

internal/repository/cache/check.go:165–167  ·  view source on GitHub ↗

GenerateCacheKey 生成单个审核记录的缓存键

(id interface{})

Source from the content-addressed store, hash-verified

163
164// GenerateCacheKey 生成单个审核记录的缓存键
165func (c *checkCache) GenerateCacheKey(id interface{}) string {
166 return fmt.Sprintf("linkme:check:%v", id)
167}
168
169// GeneratePaginationCacheKey 生成分页查询的缓存键
170func (c *checkCache) GeneratePaginationCacheKey(pagination domain.Pagination) string {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected