Documentation ¶
Overview ¶
Package lookup provides interfaces for generating lookup tables from arbritrary data sources.
A lookup consists of a catalog.Catalog instance, one or more iterator.Iterator instances and one or more iterator.AppendLookupFunc callback functions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SeedCatalog ¶
func SeedCatalog(ctx context.Context, c catalog.Catalog, iters []iterator.Iterator, append_funcs []iterator.AppendLookupFunc) error
Seed a Catalog instance with one or more Iterator instances. Catalogs are seeded according to rules defined in the list of AppendLookupFunc functions that are passed in to the method.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.