Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewUpdater ¶
func NewUpdater(db *gorm.DB, log *zap.SugaredLogger) *updater
Types ¶
type DealFailureError ¶
type DealFailureError struct { Miner address.Address DealUUID string Phase string Message string Content uint UserID uint MinerAddress string DealProtocolVersion protocol.ID MinerVersion string }
func (*DealFailureError) Error ¶
func (dfe *DealFailureError) Error() string
type IUpdater ¶
type IUpdater interface {
RecordDealFailure(dfe *DealFailureError) error
}
Click to show internal directories.
Click to hide internal directories.