Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App interface {
GetCountWallets() (uint64, error)
CreateWallet(wallet Wallet) error
CreateWallets() error
Start() error
UpdateWallets() error
}
func New ¶
func New(repo Repo, rl RateLimiter) App
type MultiSendItem ¶
type RateLimiter ¶
func (RateLimiter) String ¶
func (cp RateLimiter) String() string
type Repo ¶
type Repo interface {
GetCountWallets() (uint64, error)
CreateWallet(address, seedPhrase, mnemonic, privateKey, amount string, status bool) error
SelectWallets() ([]dao.Wallet, error)
SelectWalletsInterval(start, end uint64) ([]dao.Wallet, error)
SelectWalletsAmount(amount uint64) ([]dao.Wallet, error)
DisableWallet(address string) error
GetOneWallet() (*dao.Wallet, error)
}
Click to show internal directories.
Click to hide internal directories.