localregistry

package
v0.0.0-...-3b62d95 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLocalRegistry

func NewLocalRegistry(selfID string) registry.Registry

NewLocalRegistry creates a new local (in-memory) registry. It is primarily used for tests and simple benchmarking.

func NewLocalRegistryWithOptions

func NewLocalRegistryWithOptions(
	selfID string,
	opts registry.KVRegistryOptions,
) registry.Registry

NewLocalRegistryWithOptions is the same as NewLocalRegistry() except it allows the caller to provide KV registry options instead of relying on all the defaults.

Types

This section is empty.

Jump to

Keyboard shortcuts

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