pit_vow

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: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCatFilePitVowConfig

func GetCatFilePitVowConfig() shared_t.TransformerConfig

Types

type CatFilePitVowConverter

type CatFilePitVowConverter struct{}

func (CatFilePitVowConverter) ToModels

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

type CatFilePitVowModel

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

type CatFilePitVowRepository

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

func (CatFilePitVowRepository) Create

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

func (CatFilePitVowRepository) MarkHeaderChecked

func (repository CatFilePitVowRepository) MarkHeaderChecked(headerID int64) error

func (CatFilePitVowRepository) MissingHeaders

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

func (CatFilePitVowRepository) RecheckHeaders

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

func (*CatFilePitVowRepository) SetDB

func (repository *CatFilePitVowRepository) 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