Documentation ¶
Index ¶
- type ORM
- func (_m *ORM) CreateRequest(contractRequestID [32]byte, receivedAt time.Time, requestTxHash *common.Hash) (int64, error)
- func (_m *ORM) SetConfirmed(contractRequestID [32]byte) error
- func (_m *ORM) SetError(id int64, runID int64, errorType directrequestocr.ErrType, ...) error
- func (_m *ORM) SetResult(id int64, runID int64, computationResult []byte, readyAt time.Time) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ORM ¶
ORM is an autogenerated mock type for the ORM type
func NewORM ¶
func NewORM(t mockConstructorTestingTNewORM) *ORM
NewORM creates a new instance of ORM. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ORM) CreateRequest ¶
func (_m *ORM) CreateRequest(contractRequestID [32]byte, receivedAt time.Time, requestTxHash *common.Hash) (int64, error)
CreateRequest provides a mock function with given fields: contractRequestID, receivedAt, requestTxHash
func (*ORM) SetConfirmed ¶
SetConfirmed provides a mock function with given fields: contractRequestID
Click to show internal directories.
Click to hide internal directories.