Documentation ¶
Index ¶
- type Database
- type Wallets
- func (ea *Wallets) Add(ctx context.Context, account *entities.Wallet) (*entities.Wallet, error)
- func (ea *Wallets) Delete(ctx context.Context, pubkey string) error
- func (ea *Wallets) Get(ctx context.Context, pubkey string) (*entities.Wallet, error)
- func (ea *Wallets) GetAll(ctx context.Context) ([]*entities.Wallet, error)
- func (ea *Wallets) GetAllDeleted(ctx context.Context) ([]*entities.Wallet, error)
- func (ea *Wallets) GetDeleted(ctx context.Context, pubkey string) (*entities.Wallet, error)
- func (ea *Wallets) Purge(ctx context.Context, pubkey string) error
- func (ea *Wallets) Restore(ctx context.Context, pubkey string) error
- func (ea *Wallets) RunInTransaction(ctx context.Context, persist func(dbTx database.Wallets) error) error
- func (ea *Wallets) SearchAddresses(ctx context.Context, isDeleted bool, limit, offset uint64) ([]string, error)
- func (ea *Wallets) Update(ctx context.Context, account *entities.Wallet) (*entities.Wallet, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Wallets ¶
type Wallets struct {
// contains filtered or unexported fields
}
func (*Wallets) GetAllDeleted ¶
func (*Wallets) GetDeleted ¶
func (*Wallets) RunInTransaction ¶
func (*Wallets) SearchAddresses ¶
Click to show internal directories.
Click to hide internal directories.