Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CMap

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

    CMap is a goroutine-safe map

    func NewCMap

    func NewCMap() *CMap

    func (*CMap) Clear

    func (cm *CMap) Clear()

    func (*CMap) Delete

    func (cm *CMap) Delete(key string)

    func (*CMap) Get

    func (cm *CMap) Get(key string) interface{}

    func (*CMap) Has

    func (cm *CMap) Has(key string) bool

    func (*CMap) Keys

    func (cm *CMap) Keys() []string

    func (*CMap) Set

    func (cm *CMap) Set(key string, value interface{})

    func (*CMap) Size

    func (cm *CMap) Size() int

    func (*CMap) Values

    func (cm *CMap) Values() []interface{}

    Source Files