Documentation ¶
Index ¶
- type Database
- func (d *Database) Available() bool
- func (d *Database) DeleteWallet(v ...*types.Wallet) error
- func (d *Database) DuplicateError(err error) bool
- func (d *Database) GetService(name string) (*types.Service, error)
- func (d *Database) GetSetting(k, def string) (string, error)
- func (d *Database) ListUnnotifiedIncomings(max uint16) ([]*types.Incoming, error)
- func (d *Database) ListWallets() ([]*types.WalletServices, error)
- func (d *Database) MaxPacketError(err error) bool
- func (d *Database) Migrate() error
- func (d *Database) PutIncoming(v ...*types.Incoming) error
- func (d *Database) PutService(v *types.Service) error
- func (d *Database) PutSetting(k, v string) error
- func (d *Database) PutWallet(v ...*types.Wallet) error
- func (d *Database) UpdateIncoming(v *types.Incoming) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
Database data
func (*Database) DeleteWallet ¶
DeleteWallet implementation
func (*Database) DuplicateError ¶
DuplicateError impl.
func (*Database) GetService ¶
GetService implementation
func (*Database) GetSetting ¶
GetSetting implementation
func (*Database) ListUnnotifiedIncomings ¶
ListUnnotifiedIncomings implementation
func (*Database) ListWallets ¶
func (d *Database) ListWallets() ([]*types.WalletServices, error)
ListWallets implementation
func (*Database) MaxPacketError ¶
MaxPacketError impl.
func (*Database) PutIncoming ¶
PutIncoming implementation
func (*Database) PutService ¶
PutService implementation
func (*Database) PutSetting ¶
PutSetting implementation
Source Files ¶
Click to show internal directories.
Click to hide internal directories.