Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSpotFilePipConfig ¶
func GetSpotFilePipConfig() transformer.EventTransformerConfig
Types ¶
type SpotFilePipConverter ¶
type SpotFilePipConverter struct{}
func (SpotFilePipConverter) ToModels ¶
func (SpotFilePipConverter) ToModels(ethLogs []types.Log) ([]shared.InsertionModel, error)
type SpotFilePipRepository ¶
type SpotFilePipRepository struct {
// contains filtered or unexported fields
}
func (SpotFilePipRepository) Create ¶
func (repo SpotFilePipRepository) Create(headerID int64, models []shared.InsertionModel) error
func (SpotFilePipRepository) MarkHeaderChecked ¶
func (repo SpotFilePipRepository) MarkHeaderChecked(headerID int64) error
func (*SpotFilePipRepository) SetDB ¶
func (repo *SpotFilePipRepository) SetDB(db *postgres.DB)
Click to show internal directories.
Click to hide internal directories.