gutil

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SHARD_COUNT = 32

Functions

This section is empty.

Types

type LinkExMap

type LinkExMap []*mLinkExMap

func NewLinkExMap

func NewLinkExMap() LinkExMap

func (LinkExMap) Add

func (m LinkExMap) Add(key string, value interface{}) bool

func (LinkExMap) AllLen

func (m LinkExMap) AllLen() int

func (LinkExMap) Delete

func (m LinkExMap) Delete(key string, value interface{}) bool

func (LinkExMap) DeleteKey

func (m LinkExMap) DeleteKey(key string)

func (LinkExMap) DeleteOvalue

func (m LinkExMap) DeleteOvalue(key string, value interface{})

func (LinkExMap) DeleteValue

func (m LinkExMap) DeleteValue(value interface{})

func (LinkExMap) Get

func (m LinkExMap) Get(key string) []interface{}

func (LinkExMap) GetALLKey

func (m LinkExMap) GetALLKey() []string

func (LinkExMap) GetALLValue

func (m LinkExMap) GetALLValue() []interface{}

func (LinkExMap) GetKeyArray

func (m LinkExMap) GetKeyArray(start int, num int) []interface{}

func (LinkExMap) GetSetOneValue

func (m LinkExMap) GetSetOneValue(key string, value interface{}) (interface{}, bool)

func (LinkExMap) IsHasKey

func (m LinkExMap) IsHasKey(key string) bool

func (LinkExMap) Items

func (m LinkExMap) Items() map[string]interface{}

func (LinkExMap) IterBuffered

func (m LinkExMap) IterBuffered() <-chan Tuple

func (LinkExMap) Len

func (m LinkExMap) Len(key string) int

type LinkMap

type LinkMap struct {
	// contains filtered or unexported fields
}

func NewLinkMap

func NewLinkMap() *LinkMap

func (*LinkMap) Add

func (c *LinkMap) Add(key string, value interface{})

func (*LinkMap) Delete

func (c *LinkMap) Delete(key string)

func (*LinkMap) DeleteValue

func (c *LinkMap) DeleteValue(key string, value interface{})

func (*LinkMap) Get

func (c *LinkMap) Get(key string) interface{}

func (*LinkMap) GetALLKey

func (c *LinkMap) GetALLKey() []string

func (*LinkMap) GetALl

func (c *LinkMap) GetALl() map[string]interface{}

func (*LinkMap) Init

func (c *LinkMap) Init()

func (*LinkMap) TotalNum

func (c *LinkMap) TotalNum() int
type Linklist struct {
	// contains filtered or unexported fields
}
func NewLinkList() *Linklist

func (*Linklist) Add

func (l *Linklist) Add(value interface{})

func (*Linklist) Contains

func (l *Linklist) Contains(value interface{}) (bool, *list.Element)

func (*Linklist) Delete

func (l *Linklist) Delete(value interface{})

func (*Linklist) DeleteAll

func (l *Linklist) DeleteAll()

func (*Linklist) GetAllArray

func (l *Linklist) GetAllArray() []interface{}

func (*Linklist) GetArray

func (l *Linklist) GetArray(start int, num int) []interface{}

func (*Linklist) GetList

func (l *Linklist) GetList() *list.List

func (*Linklist) Init

func (l *Linklist) Init()

func (*Linklist) Len

func (l *Linklist) Len() int

type Tuple

type Tuple struct {
	Key string
	Val interface{}
}

Jump to

Keyboard shortcuts

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