Documentation ¶
Index ¶
- func NewAppCache() core.AppCache
- func NewBigCacheIndexService(ips core.IndexPostsService, ams core.AuthorizationManageService) (core.CacheIndexService, core.VersionInfo)
- func NewCacheDataService(ds core.DataService) core.DataService
- func NewEventCacheIndexSrv(tms core.TweetMetricServantA) core.CacheIndexService
- func NewNoneCacheIndexService(indexPosts core.IndexPostsService) (core.CacheIndexService, core.VersionInfo)
- func NewRedisCache() core.RedisCache
- func NewRedisCacheIndexService(ips core.IndexPostsService, ams core.AuthorizationManageService) (core.CacheIndexService, core.VersionInfo)
- func NewSimpleCacheIndexService(indexPosts core.IndexPostsService) (core.CacheIndexService, core.VersionInfo)
- func NewWebCache() core.WebCache
- func OnCacheMyFollowIdsEvent(urs core.UserRelationService, userId int64, key ...string)
- func OnCacheMyFriendIdsEvent(urs core.UserRelationService, userIds ...int64)
- func OnExpireHotsTweetEvent()
- func OnExpireIndexTweetEvent(userId int64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAppCache ¶ added in v0.5.0
func NewBigCacheIndexService ¶
func NewBigCacheIndexService(ips core.IndexPostsService, ams core.AuthorizationManageService) (core.CacheIndexService, core.VersionInfo)
func NewCacheDataService ¶ added in v0.5.0
func NewCacheDataService(ds core.DataService) core.DataService
func NewEventCacheIndexSrv ¶ added in v0.5.0
func NewEventCacheIndexSrv(tms core.TweetMetricServantA) core.CacheIndexService
func NewNoneCacheIndexService ¶
func NewNoneCacheIndexService(indexPosts core.IndexPostsService) (core.CacheIndexService, core.VersionInfo)
func NewRedisCache ¶ added in v0.3.0
func NewRedisCache() core.RedisCache
func NewRedisCacheIndexService ¶ added in v0.3.0
func NewRedisCacheIndexService(ips core.IndexPostsService, ams core.AuthorizationManageService) (core.CacheIndexService, core.VersionInfo)
func NewSimpleCacheIndexService ¶
func NewSimpleCacheIndexService(indexPosts core.IndexPostsService) (core.CacheIndexService, core.VersionInfo)
func NewWebCache ¶ added in v0.5.0
func OnCacheMyFollowIdsEvent ¶ added in v0.5.0
func OnCacheMyFollowIdsEvent(urs core.UserRelationService, userId int64, key ...string)
func OnCacheMyFriendIdsEvent ¶ added in v0.5.0
func OnCacheMyFriendIdsEvent(urs core.UserRelationService, userIds ...int64)
func OnExpireHotsTweetEvent ¶ added in v0.5.0
func OnExpireHotsTweetEvent()
func OnExpireIndexTweetEvent ¶ added in v0.5.0
func OnExpireIndexTweetEvent(userId int64)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.