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.
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. |
Click to show internal directories.
Click to hide internal directories.