Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler interface { UseExisting(address, passphrase string) (identity.Identity, error) UseLast(passphrase string) (identity.Identity, error) UseNew(passphrase string) (identity.Identity, error) }
Handler allows selecting identity to be used
func NewHandler ¶
func NewHandler( manager identity.Manager, identityAPI server.Client, cache identity.IdentityCacheInterface, signerFactory identity.SignerFactory, ) Handler
NewHandler creates new identity handler used by node
Click to show internal directories.
Click to hide internal directories.