vow

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: May 28, 2019 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCatFileVowConfig

func GetCatFileVowConfig() shared_t.EventTransformerConfig

Types

type CatFileVowConverter

type CatFileVowConverter struct{}

func (CatFileVowConverter) ToModels

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

type CatFileVowModel

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

type CatFileVowRepository

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

func (CatFileVowRepository) Create

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

func (CatFileVowRepository) MarkHeaderChecked

func (repository CatFileVowRepository) MarkHeaderChecked(headerID int64) error

func (CatFileVowRepository) MissingHeaders

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

func (CatFileVowRepository) RecheckHeaders

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

func (*CatFileVowRepository) SetDB

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