deal

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2019 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDealConfig

func GetDealConfig() shared_t.EventTransformerConfig

Types

type DealConverter

type DealConverter struct{}

func (DealConverter) ToModels

func (DealConverter) ToModels(ethLogs []types.Log) (result []shared.InsertionModel, err error)

type DealRepository

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

func (DealRepository) Create

func (repository DealRepository) Create(headerID int64, models []shared.InsertionModel) error

func (DealRepository) MarkHeaderChecked

func (repository DealRepository) MarkHeaderChecked(headerID int64) error

func (*DealRepository) SetDB

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