nodemap

package
v2.18.2+incompatible Latest Latest
Warning

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

Go to latest
Published: May 13, 2021 License: 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