Documentation ¶
Index ¶
Constants ¶
View Source
const ( TICK_INTERVAL = 30 * time.Second NO_EXPIRE = 0 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SimpleCache ¶
type SimpleCache struct {
// contains filtered or unexported fields
}
func New ¶
func New(shardCnt uint8) *SimpleCache
func (*SimpleCache) Get ¶
func (this *SimpleCache) Get(key string) (interface{}, bool)
Click to show internal directories.
Click to hide internal directories.