cache

package
v1.8.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2018 License: GPL-3.0 Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL