types

package
v0.0.0-...-4e28f1d Latest Latest
Warning

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

Go to latest
Published: May 4, 2018 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IdMap

type IdMap struct {
	Data map[uint32]interface{}
	// contains filtered or unexported fields
}

func NewIdMap

func NewIdMap() *IdMap

func (*IdMap) Add

func (m *IdMap) Add(id uint32, e interface{})

func (*IdMap) Delete

func (m *IdMap) Delete(id uint32)

func (*IdMap) Get

func (m *IdMap) Get(id uint32) interface{}

func (*IdMap) GetNewId

func (m *IdMap) GetNewId() uint32

func (*IdMap) RLock

func (m *IdMap) RLock()

func (*IdMap) RUnlock

func (m *IdMap) RUnlock()

Jump to

Keyboard shortcuts

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