Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MemoryCache ¶
type MemoryCache struct {
// contains filtered or unexported fields
}
func MemoryCacheNew ¶
func MemoryCacheNew() *MemoryCache
func (*MemoryCache) Get ¶
func (m *MemoryCache) Get(key string) interface{}
func (*MemoryCache) Has ¶
func (m *MemoryCache) Has(key string) bool
func (*MemoryCache) Set ¶
func (m *MemoryCache) Set(key string, data interface{})
func (*MemoryCache) SetExp ¶
func (m *MemoryCache) SetExp(key string, data interface{}, seconds float64)
type MemoryCacheItem ¶
type MemoryCacheItem struct {
Data interface{}
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.