Documentation ¶
Index ¶
- type FileStore
- func (f FileStore) GetAddresses(protocol, network string) (map[string]map[string][][]byte, error)
- func (f FileStore) GetDecrypter(address []byte, protocol, network string, decrypterType byte, ...) (cipher.Decrypter, error)
- func (f FileStore) GetSigner(address []byte, protocol, network string, ...) (signer.Signer, error)
- func (f FileStore) HasAddress(searchAddress []byte, protocol, network string) bool
- func (f FileStore) Store(protocol, network string, private crypto.PrivateKey, ...) (crypto.PublicKey, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileStore ¶
type FileStore struct {
// contains filtered or unexported fields
}
FileStore object
func NewFileStore ¶
NewFileStore create a new filestore with the path specified
func (FileStore) GetAddresses ¶
GetAddresses list all addresses.
func (FileStore) GetDecrypter ¶
func (f FileStore) GetDecrypter(address []byte, protocol, network string, decrypterType byte, deriveKeyOptions multi.OptionsBuilders) (cipher.Decrypter, error)
GetDecrypter the decrypter for the specified address.
func (FileStore) GetSigner ¶
func (f FileStore) GetSigner(address []byte, protocol, network string, deriveKeyOptions multi.OptionsBuilders) (signer.Signer, error)
GetSigner return a transaction signer based on the supplied address.
func (FileStore) HasAddress ¶
HasAddress check for the presence of the address in the store.
Click to show internal directories.
Click to hide internal directories.