Documentation
¶
Index ¶
- func BatchInsertOperatorTasks(db *sql.DB, operatorTasks []*OperatorTask) error
- func CountOperatorTasks(db *sql.DB, taskID uint32) (int, error)
- func QueryOperatorAddressesNoRegisteredAt(db *sql.DB) ([]string, error)
- func QueryOperatorIDs(db *sql.DB, operatorAddresses []string) ([]uint32, error)
- func UpdateOperatorRegisteredAt(db *sql.DB, operatorAddress string, timestamp time.Time) error
- func UpdateTaskResponse(db *sql.DB, taskID uint32, taskResponse, responseTaskTx string, ...) error
- func UpsertOperator(db *sql.DB, operator *Operator) (int, error)
- func UpsertTask(db *sql.DB, task *Task) error
- type Operator
- type OperatorTask
- type Task
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BatchInsertOperatorTasks ¶
func BatchInsertOperatorTasks(db *sql.DB, operatorTasks []*OperatorTask) error
func QueryOperatorIDs ¶
func UpdateTaskResponse ¶
Types ¶
type OperatorTask ¶
Click to show internal directories.
Click to hide internal directories.