Documentation ¶
Index ¶
- type Array
- func (this *Array) Create(v interface{}) Setter
- func (this *Array) Delete(id MID) Setter
- func (this *Array) Get(id MID) (Setter, bool)
- func (this *Array) Mutex(f func())
- func (this *Array) Range(f func(Setter) bool)
- func (this *Array) Remove(ids ...MID)
- func (this *Array) Set(id MID, v interface{}) bool
- func (this *Array) Size() int
- type Data
- type Hash
- func (this *Hash) Create(uuid string, val interface{}) Setter
- func (this *Hash) Delete(uuid string) (r Setter)
- func (this *Hash) Load(uuid string) (r Setter)
- func (this *Hash) MID(uuid string) (mid MID, ok bool)
- func (this *Hash) Remove(uuid ...string)
- func (this *Hash) Reset(uuid string, mid MID) (r Setter)
- type MID
- type Setter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Array ¶
type Array struct { NewSetter func(id MID, val interface{}) Setter //创建新数据结构 // contains filtered or unexported fields }
Array 一维数组存储器
Click to show internal directories.
Click to hide internal directories.