Documentation ¶
Index ¶
- func AddObject(key string, val interface{}) error
- func AddStringObject(key string, val string) error
- func CreateMemoryCashManager(context *appcontext.AppContext)
- func DeleteObject(key string) error
- func GetObject(key string) (interface{}, error)
- func GetStringObject(key string) (string, error)
- type MapMemoryCash
- func (this *MapMemoryCash) AddObject(key string, val interface{}) error
- func (this *MapMemoryCash) AddStringObject(key string, val string) error
- func (this *MapMemoryCash) DeleteObject(key string) error
- func (this *MapMemoryCash) GetObject(key string) (interface{}, error)
- func (this *MapMemoryCash) GetStringObject(key string) (string, error)
- func (this *MapMemoryCash) InitMemoryCash(size int64) error
- type MemoryCash
- type MemoryCashManager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddStringObject ¶
func CreateMemoryCashManager ¶
func CreateMemoryCashManager(context *appcontext.AppContext)
func DeleteObject ¶
func GetStringObject ¶
Types ¶
type MapMemoryCash ¶
type MapMemoryCash struct {
// contains filtered or unexported fields
}
func (*MapMemoryCash) AddObject ¶
func (this *MapMemoryCash) AddObject(key string, val interface{}) error
func (*MapMemoryCash) AddStringObject ¶
func (this *MapMemoryCash) AddStringObject(key string, val string) error
func (*MapMemoryCash) DeleteObject ¶
func (this *MapMemoryCash) DeleteObject(key string) error
func (*MapMemoryCash) GetObject ¶
func (this *MapMemoryCash) GetObject(key string) (interface{}, error)
func (*MapMemoryCash) GetStringObject ¶
func (this *MapMemoryCash) GetStringObject(key string) (string, error)
func (*MapMemoryCash) InitMemoryCash ¶
func (this *MapMemoryCash) InitMemoryCash(size int64) error
type MemoryCash ¶
type MemoryCashManager ¶
type MemoryCashManager struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.