gorm

package
v0.0.0-...-982817c Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GormEthlogRepo

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

func (*GormEthlogRepo) GetERC721TransferLogs

func (r *GormEthlogRepo) GetERC721TransferLogs(ctx context.Context, address string, page int, pageSize int) ([]ethlog.ERC721Transfer, error)

func (*GormEthlogRepo) Insert

func (r *GormEthlogRepo) Insert(data []*ethlog.ERC721Transfer) error

type GormRepoFactory

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

func NewGormRepoFactory

func NewGormRepoFactory(db *gorm.DB) GormRepoFactory

func (GormRepoFactory) EthLogs

func (grf GormRepoFactory) EthLogs() ethlog.EthlogRepo

func (GormRepoFactory) MigrateDatabase

func (grf GormRepoFactory) MigrateDatabase() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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