Documentation ¶
Overview ¶
Package cache includes caches.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Article = &articleCache{ idHolder: gcache.New(1024 * 10).LRU().Build(), }
Article cache.
View Source
var Comment = &commentCache{ idHolder: gcache.New(1024 * 10 * 10).LRU().Build(), }
Comment service.
View Source
var Setting = &settingCache{ categoryNameHolder: gcache.New(1024 * 10).LRU().Build(), }
Setting cache.
View Source
var User = &userCache{ idHolder: gcache.New(1024 * 10).LRU().Build(), }
User cache.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.