Documentation ¶
Index ¶
Constants ¶
View Source
const (
InsertSpotPokeQuery = `` /* 248-byte string literal not displayed */
)
Variables ¶
This section is empty.
Functions ¶
func GetSpotPokeConfig ¶
func GetSpotPokeConfig() transformer.EventTransformerConfig
Types ¶
type SpotPokeConverter ¶
type SpotPokeConverter struct{}
func (SpotPokeConverter) ToEntities ¶
func (s SpotPokeConverter) ToEntities(contractAbi string, ethLogs []types.Log) ([]interface{}, error)
func (SpotPokeConverter) ToModels ¶
func (s SpotPokeConverter) ToModels(entities []interface{}) ([]interface{}, error)
type SpotPokeEntity ¶
type SpotPokeModel ¶
type SpotPokeRepository ¶
type SpotPokeRepository struct {
// contains filtered or unexported fields
}
func (*SpotPokeRepository) Create ¶
func (repository *SpotPokeRepository) Create(headerID int64, models []interface{}) error
func (SpotPokeRepository) MarkHeaderChecked ¶
func (repository SpotPokeRepository) MarkHeaderChecked(headerID int64) error
func (*SpotPokeRepository) SetDB ¶
func (repository *SpotPokeRepository) SetDB(db *postgres.DB)
Click to show internal directories.
Click to hide internal directories.