vow_fess

package
v0.2.1-rc.1 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2019 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetVowFessConfig

func GetVowFessConfig() shared_t.EventTransformerConfig

Types

type VowFessConverter

type VowFessConverter struct{}

func (VowFessConverter) ToModels

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

type VowFessModel

type VowFessModel struct {
	Tab              string
	LogIndex         uint   `db:"log_idx"`
	TransactionIndex uint   `db:"tx_idx"`
	Raw              []byte `db:"raw_log"`
}

type VowFessRepository

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

func (VowFessRepository) Create

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

func (VowFessRepository) MarkHeaderChecked

func (repository VowFessRepository) MarkHeaderChecked(headerID int64) error

func (VowFessRepository) MissingHeaders

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

func (VowFessRepository) RecheckHeaders

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

func (*VowFessRepository) SetDB

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