idprovider

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package idprovider contains definitions and functions that are shared by different implementations of the ID provider.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error string

Error type is used to define error constants for this package.

const (
	ErrPeerIDNotFound          Error = "peer id not found"
	ErrPeerAliasAlreadyUsed    Error = "peer alias is already used for another peer id"
	ErrPeerIDAlreadyRegistered Error = "peer id already regsitered"
	ErrParsingOffChainAddress  Error = "parsing off-chain address"
)

Definition of error constants for this package.

func (Error) Error

func (e Error) Error() string

Error implements error interface.

Directories

Path Synopsis
Package idprovidertest provides a test helper functions to initialize a local ID provider instance with a given list of peer IDs.
Package idprovidertest provides a test helper functions to initialize a local ID provider instance with a given list of peer IDs.
Package local contains an implementation of ID provider, where the peer IDs are stored in a YAML file stored locally on the disk.
Package local contains an implementation of ID provider, where the peer IDs are stored in a YAML file stored locally on the disk.

Jump to

Keyboard shortcuts

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