yank

package
v0.2.15 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2019 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type YankConverter

type YankConverter struct{}

func (YankConverter) ToModels

func (YankConverter) ToModels(_ string, logs []core.HeaderSyncLog) (results []shared.InsertionModel, err error)

type YankModel

type YankModel struct {
	BidId           string `db:"bid_id"`
	ContractAddress string `db:"contract_address"`
	LogID           uint   `db:"log_id"`
}

type YankRepository

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

func (YankRepository) Create

func (repo YankRepository) Create(models []shared.InsertionModel) error

func (*YankRepository) SetDB

func (repo *YankRepository) 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