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
Click to show internal directories.
Click to hide internal directories.