Documentation ¶
Index ¶
Constants ¶
View Source
const InsertNewCdpQuery = `` /* 211-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NewCdpConverter ¶
type NewCdpConverter struct{}
func (NewCdpConverter) ToEntities ¶
func (NewCdpConverter) ToEntities(contractAbi string, ethLogs []types.Log) ([]interface{}, error)
func (NewCdpConverter) ToModels ¶
func (converter NewCdpConverter) ToModels(entities []interface{}) ([]interface{}, error)
type NewCdpEntity ¶
type NewCdpModel ¶
type NewCdpRepository ¶
type NewCdpRepository struct {
// contains filtered or unexported fields
}
func (NewCdpRepository) Create ¶
func (repository NewCdpRepository) Create(headerID int64, models []interface{}) error
func (*NewCdpRepository) MarkHeaderChecked ¶
func (repository *NewCdpRepository) MarkHeaderChecked(headerID int64) error
func (*NewCdpRepository) SetDB ¶
func (repository *NewCdpRepository) SetDB(db *postgres.DB)
Click to show internal directories.
Click to hide internal directories.