bite

package
v0.2.14 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BiteConverter

type BiteConverter struct{}

func (BiteConverter) ToModels

func (converter BiteConverter) ToModels(abi string, logs []core.HeaderSyncLog) ([]shared.InsertionModel, error)

type BiteEntity

type BiteEntity struct {
	Ilk      [32]byte
	Urn      common.Address
	Ink      *big.Int
	Art      *big.Int
	Tab      *big.Int
	Flip     common.Address
	Id       *big.Int
	HeaderID int64
	LogID    int64
}

type BiteRepository

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

func (BiteRepository) Create

func (repository BiteRepository) Create(models []shared.InsertionModel) error

func (*BiteRepository) SetDB

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