Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MysqlCache ¶
type MysqlCache struct {
// contains filtered or unexported fields
}
func NewMysqlCache ¶
func NewMysqlCache(typeName string, db *models.DBClient) *MysqlCache
func (*MysqlCache) Get ¶
func (c *MysqlCache) Get(key string, outValue interface{}) error
Get value with key
func (*MysqlCache) Set ¶
func (c *MysqlCache) Set(key string, value interface{}) error
Set a value with key
func (*MysqlCache) Status ¶
func (c *MysqlCache) Status() *gitmodule.CacheStatus
Status return the status of cache
Click to show internal directories.
Click to hide internal directories.