Documentation ¶
Overview ¶
使用方法:
查看cache_test.go
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ICache ¶
type ICache interface { KeyName() string PrimaryKey(model interface{}) string GetAll() (data interface{}, err error) }
ICache ICache
type MemCache ¶
type MemCache struct {
// contains filtered or unexported fields
}
MemCache MemCache
Click to show internal directories.
Click to hide internal directories.