core

package
v0.0.0-...-f0630fc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2017 License: MIT Imports: 9 Imported by: 0

Documentation

Index

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) Dec

func (c *Collection) Dec(key string, value uint64) uint64

func (*Collection) Del

func (c *Collection) Del(key string)

func (*Collection) Get

func (c *Collection) Get(key string) uint64

func (*Collection) Inc

func (c *Collection) Inc(key string, value uint64) uint64

func (*Collection) List

func (c *Collection) List() *list.List

func (*Collection) ListPrefix

func (c *Collection) ListPrefix(prefix string) *list.List

func (*Collection) New

func (c *Collection) New(key string, value uint64) uint64

func (*Collection) Set

func (c *Collection) Set(key string, value uint64) uint64

func (*Collection) SumPrefix

func (c *Collection) SumPrefix(prefix string) uint64

type Pair

type Pair struct {
	Key   string
	Value uint64
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址