nodemap

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2017 License: Apache-2.0, MIT Imports: 3 Imported by: 0

Documentation

Overview

Package nodemap provides a schema registry index type.

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 is a lazy index of a registry. The zero value is an index of the default registry.

func (*Map) Find

func (m *Map) Find(id uint64) (schema.Node, error)

Find returns the node for the given ID.

func (*Map) UseRegistry

func (m *Map) UseRegistry(reg *schemas.Registry)

Jump to

Keyboard shortcuts

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