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