evm_wallet

package
v1.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 16, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SQLite

type SQLite struct {
	// contains filtered or unexported fields
}

func New

func New(db *sqlite.Storage) *SQLite

func (*SQLite) Create

func (s *SQLite) Create(ctx context.Context, wallet *evmWalletModel.EvmWallet) (int64, error)

Create saves wallet to db

func (*SQLite) DeleteByID

func (s *SQLite) DeleteByID(ctx context.Context, id int64) error

func (*SQLite) GetByID

func (s *SQLite) GetByID(ctx context.Context, id int64) (*evmWalletModel.EvmWallet, error)

func (*SQLite) GetList

func (s *SQLite) GetList(ctx context.Context) ([]evmWalletModel.EvmWallet, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL