Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Memory ¶
type Memory struct { }
func (*Memory) Space ¶
func (s *Memory) Space(name string) *MemorySpace
type MemorySpace ¶
type MemorySpace struct {
// contains filtered or unexported fields
}
func (*MemorySpace) Delete ¶
func (m *MemorySpace) Delete(name string)
func (*MemorySpace) Get ¶
func (m *MemorySpace) Get(name string) (interface{}, bool)
Get an item from the cache. Returns the item or nil, and a bool indicating whether the key was found.
func (*MemorySpace) IncrementInt ¶
func (m *MemorySpace) IncrementInt(k string, n int)
func (*MemorySpace) Items ¶
func (m *MemorySpace) Items() map[string]interface{}
func (*MemorySpace) Set ¶
func (m *MemorySpace) Set(name string, value interface{})
Set add an item to the cache, replacing any existing item with the same name
Click to show internal directories.
Click to hide internal directories.