Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountManager ¶
type AccountManager interface { Status() (string, error) Accounts() ([]util.Account, error) Contains(acctAddr util.Address) bool Sign(acctAddr util.Address, toSign []byte) ([]byte, error) UnlockAndSign(acctAddr util.Address, toSign []byte) ([]byte, error) TimedUnlock(acctAddr util.Address, duration time.Duration) error Lock(acctAddr util.Address) NewAccount(conf config.NewAccount) (util.Account, error) ImportPrivateKey(privateKeyECDSA *ecdsa.PrivateKey, conf config.NewAccount) (util.Account, error) }
func NewAccountManager ¶
func NewAccountManager(conf config.VaultClient) (AccountManager, error)
NewAccountManager creates a new AccountManager. The implementation created is determined by the config provided.
Click to show internal directories.
Click to hide internal directories.