Documentation
¶
Index ¶
- type Collection
- func (c *Collection) Close()
- func (c *Collection) Dec(key string, value uint64) uint64
- func (c *Collection) Del(key string)
- func (c *Collection) Get(key string) uint64
- func (c *Collection) Inc(key string, value uint64) uint64
- func (c *Collection) List() *list.List
- func (c *Collection) ListPrefix(prefix string) *list.List
- func (c *Collection) New(key string, value uint64) uint64
- func (c *Collection) Set(key string, value uint64) uint64
- func (c *Collection) SumPrefix(prefix string) uint64
- type Pair
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collection ¶
type Collection struct {
// contains filtered or unexported fields
}
func OpenCollection ¶
func OpenCollection() *Collection
func (*Collection) Close ¶
func (c *Collection) Close()
func (*Collection) Del ¶
func (c *Collection) Del(key string)
func (*Collection) Get ¶
func (c *Collection) Get(key string) uint64
func (*Collection) List ¶
func (c *Collection) List() *list.List
func (*Collection) ListPrefix ¶
func (c *Collection) ListPrefix(prefix string) *list.List
func (*Collection) SumPrefix ¶
func (c *Collection) SumPrefix(prefix string) uint64
Click to show internal directories.
Click to hide internal directories.