db

package
v0.0.0-...-50e54af Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2021 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountDb

type AccountDb interface {
	AddressCreate(ctx context.Context, addr *entity.EntityAddressPrivate) (err error)
	AddressSet(ctx context.Context, addr *entity.EntityAddressPrivate) (err error)
	AddressSCreate(ctx context.Context, addrS []*entity.EntityAddressPrivate) (err error)
	AddressGetByFilter(ctx context.Context, filter bson.D, opt *options.FindOptions) (addrS []*entity.EntityAddressPrivate, err error)
}

func NewWalletDb

func NewWalletDb(ctx context.Context, mg *mongo.Client) AccountDb

Jump to

Keyboard shortcuts

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