meta

package
v6.2.2 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Map

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

Map stores a map of id -> MapStrPointer

func NewMap

func NewMap() *Map

NewMap instantiates and returns a new meta.Map

func (*Map) Remove

func (m *Map) Remove(id uint64)

Remove meta stored under the given id

func (*Map) Store

func (m *Map) Store(id uint64, meta common.MapStr) common.MapStrPointer

Store inserts or updates given meta under the given id. Then it returns a MapStrPointer to it

Jump to

Keyboard shortcuts

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