repo

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2019 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDripFileRepoConfig

func GetDripFileRepoConfig() shared_t.TransformerConfig

Types

type DripFileRepoConverter

type DripFileRepoConverter struct{}

func (DripFileRepoConverter) ToModels

func (DripFileRepoConverter) ToModels(ethLogs []types.Log) ([]interface{}, error)

type DripFileRepoModel

type DripFileRepoModel struct {
	What             string
	Data             string
	LogIndex         uint   `db:"log_idx"`
	TransactionIndex uint   `db:"tx_idx"`
	Raw              []byte `db:"raw_log"`
}

type DripFileRepoRepository

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

func (DripFileRepoRepository) Create

func (repository DripFileRepoRepository) Create(headerID int64, models []interface{}) error

func (DripFileRepoRepository) MarkHeaderChecked

func (repository DripFileRepoRepository) MarkHeaderChecked(headerID int64) error

func (DripFileRepoRepository) MissingHeaders

func (repository DripFileRepoRepository) MissingHeaders(startingBlockNumber, endingBlockNumber int64) ([]core.Header, error)

func (DripFileRepoRepository) RecheckHeaders

func (repository DripFileRepoRepository) RecheckHeaders(startingBlockNumber, endingBlockNumber int64) ([]core.Header, error)

func (*DripFileRepoRepository) SetDB

func (repository *DripFileRepoRepository) SetDB(db *postgres.DB)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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