package
0.1.1
Repository: https://github.com/bitmaelum/bitmaelum-suite.git
Documentation: pkg.go.dev

# Functions

KeyRetrievalService initialises a key retrieval service.
NewChainRepository Return a new chain repository.
NewMockRepository creates a simple mock repository for testing purposes.
NewRemoteRepository creates new remote resolve repository.
NewSqliteRepository creates new local repository where keys are stored in an SQLite database.

# Variables

ErrConfigNotFound is returned when no resolver configuration could be found.
ErrKeyNotFound is returened when a key is not found.

# Structs

AddressDownload is a JSON structure we download from a resolver server.
AddressInfo is a structure returned by the external resolver system.
ChainRepository holds a list of multiple repositories which can all be tried to resolve addresses and keys.
OrganisationDownload is a JSON structure we download from a resolver server.
OrganisationInfo is a structure returned by the external resolver system.
ProofOfWorkConfig is a struct that holds the resolver configuration as fetched from a resolver.
RoutingDownload is a JSON structure we download from a resolver server.
RoutingInfo is a structure returned by the external resolver system.
Service represents a resolver service tied to a specific repository.

# Interfaces

AddressRepository is the interface to manage address resolving.
ConfigRepository is the interface to fetch resolver configurations.
OrganisationRepository is the interface to manage organisation resolving.
Repository is a complete key resolver repository with the different parts.
RoutingRepository is the interface to manage route resolving.