Documentation ¶
Index ¶
- func GetDentConfig() shared_t.EventTransformerConfig
- type DentConverter
- type DentModel
- type DentRepository
- func (repository DentRepository) Create(headerID int64, models []interface{}) error
- func (repository DentRepository) MarkHeaderChecked(headerId int64) error
- func (repository DentRepository) MissingHeaders(startingBlockNumber, endingBlockNumber int64) ([]core.Header, error)
- func (repository DentRepository) RecheckHeaders(startingBlockNumber, endingBlockNumber int64) ([]core.Header, error)
- func (repository *DentRepository) SetDB(db *postgres.DB)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDentConfig ¶
func GetDentConfig() shared_t.EventTransformerConfig
Types ¶
type DentConverter ¶
type DentConverter struct{}
func NewDentConverter ¶
func NewDentConverter() DentConverter
type DentRepository ¶
type DentRepository struct {
// contains filtered or unexported fields
}
func (DentRepository) Create ¶
func (repository DentRepository) Create(headerID int64, models []interface{}) error
func (DentRepository) MarkHeaderChecked ¶
func (repository DentRepository) MarkHeaderChecked(headerId int64) error
func (DentRepository) MissingHeaders ¶
func (repository DentRepository) MissingHeaders(startingBlockNumber, endingBlockNumber int64) ([]core.Header, error)
func (DentRepository) RecheckHeaders ¶
func (repository DentRepository) RecheckHeaders(startingBlockNumber, endingBlockNumber int64) ([]core.Header, error)
func (*DentRepository) SetDB ¶
func (repository *DentRepository) SetDB(db *postgres.DB)
Click to show internal directories.
Click to hide internal directories.