package
0.0.0-20240823020417-5c4e16dae1be
Repository: https://github.com/go-microservice/moment-service.git
Documentation: pkg.go.dev

# README

cache

cache 文件存放位置

# Functions

NewCommentContentCache new a cache.
NewCommentHotCache new a cache.
NewCommentIndexCache new a cache.
NewCommentInfoCache new a cache.
NewCommentLatestCache new a cache.
NewPostInfoCache new a cache.
NewUserCommentCache new a cache.
NewUserLikeCache new a cache.

# Constants

PrefixCommentContentCacheKey cache prefix.
PrefixCommentHotCacheKey cache prefix.
PrefixCommentIndexCacheKey cache prefix oid_type_sort.
PrefixCommentInfoCacheKey cache prefix.
PrefixCommentLatestCacheKey cache prefix.
PrefixPostInfoCacheKey cache prefix.
PrefixUserCommentCacheKey cache prefix.
PrefixUserLikeCacheKey cache prefix.

# Variables

ProviderSet is cache providers.

# Interfaces

CommentContentCache define cache interface.
CommentHotCache define cache interface.
CommentIndexCache define cache interface.
CommentInfoCache define cache interface.
CommentLatestCache define cache interface.
PostInfoCache define cache interface.
UserCommentCache define cache interface.
UserLikeCache define cache interface.