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) ToEntities ¶
func (BiteConverter) ToEntities(contractAbi string, ethLogs []types.Log) ([]interface{}, error)
func (BiteConverter) ToModels ¶
func (converter BiteConverter) ToModels(entities []interface{}) ([]interface{}, error)
type BiteEntity ¶
type BiteRepository ¶
type BiteRepository struct {
// contains filtered or unexported fields
}
func (BiteRepository) Create ¶
func (repository BiteRepository) Create(headerID int64, models []interface{}) error
func (BiteRepository) MarkHeaderChecked ¶
func (repository BiteRepository) MarkHeaderChecked(headerID int64) error
func (*BiteRepository) SetDB ¶
func (repository *BiteRepository) SetDB(db *postgres.DB)
Click to show internal directories.
Click to hide internal directories.