registry

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllKeepers

func AllKeepers() []string

AllKeepers returns a slice of all registered [Keeper] implementation names.

func GetKeeper

func GetKeeper(name string) database.KeeperCreator

GetKeeper retrieves a [KeeperCreator] from the global registry by name.

func RegisterKeeper

func RegisterKeeper(name string, keeper database.KeeperCreator)

RegisterKeeper registers a new [KeeperCreator]; a function that creates a new [Keeper] implementation, under the given name in the global registry.

Types

This section is empty.

Jump to

Keyboard shortcuts

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