gethlylevlogjobs

package
v2.0.0-alpha.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 14, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTotalGethProcessVlogJobCount

func GetTotalGethProcessVlogJobCount(dbConnPgx utils.PgxIface) (*int, error)

func InsertGethProcessVlogJob

func InsertGethProcessVlogJob(dbConnPgx utils.PgxIface, gethProcessVlogJob *GethProcessVlogJob) (int, error)

func InsertGethProcessVlogJobList

func InsertGethProcessVlogJobList(dbConnPgx utils.PgxIface, gethProcessVlogJobList []GethProcessVlogJob) error

func RemoveGethProcessVlogJob

func RemoveGethProcessVlogJob(dbConnPgx utils.PgxIface, gethProcessVlogJobID *int) error

func UpdateFailedGethProcessVlogJob

func UpdateFailedGethProcessVlogJob(dbConnPgx utils.PgxIface, gethProcessVlogJob *GethProcessVlogJob, msg string, doUpdate bool) error

func UpdateGethProcessVlogJob

func UpdateGethProcessVlogJob(dbConnPgx utils.PgxIface, gethProcessVlogJob *GethProcessVlogJob) error

Types

type GethProcessVlogJob

type GethProcessVlogJob struct {
	ID               *int      `json:"id" db:"id"`                                //1
	GethProcessJobID *int      `json:"gethProcessJobId" db:"geth_process_job_id"` //2
	UUID             string    `json:"uuid" db:"uuid"`                            //3
	Name             string    `json:"name" db:"name"`                            //4
	AlternateName    string    `json:"alternateName" db:"alternate_name"`         //5
	StartDate        time.Time `json:"startDate" db:"start_date"`                 //6
	EndDate          time.Time `json:"endDate" db:"end_date"`                     //7
	Description      string    `json:"description" db:"description"`              //8
	StatusID         *int      `json:"statusId" db:"status_id"`                   //9
	JobCategoryID    *int      `json:"jobCategoryId" db:"job_category_id"`        //10
	AssetID          *int      `json:"assetId" db:"asset_id"`                     //11
	ChainID          *int      `json:"chainId" db:"chain_id"`                     //12
	TxnHash          string    `json:"txnHash" db:"txn_hash"`                     //13
	AddressID        *int      `json:"addressId" db:"address_id"`                 //14
	BlockNumber      *uint64   `json:"blockNumber" db:"block_number"`             //15
	IndexNumber      *uint     `json:"indexNumber" db:"index_number"`             //16
	TopicsStrArray   []string  `json:"topicsStr" db:"topics_str"`                 //17
	CreatedBy        string    `json:"createdBy" db:"created_by"`                 //18
	CreatedAt        time.Time `json:"createdAt" db:"created_at"`                 //19
	UpdatedBy        string    `json:"updatedBy" db:"updated_by"`                 //20
	UpdatedAt        time.Time `json:"updatedAt" db:"updated_at"`                 //21

}

func GetGethProcessVlogJob

func GetGethProcessVlogJob(dbConnPgx utils.PgxIface, gethProcessVlogJobID *int) (*GethProcessVlogJob, error)

func GetGethProcessVlogJobList

func GetGethProcessVlogJobList(dbConnPgx utils.PgxIface) ([]GethProcessVlogJob, error)

func GetGethProcessVlogJobListByPagination

func GetGethProcessVlogJobListByPagination(dbConnPgx utils.PgxIface, _start, _end *int, _order, _sort string, _filters []string) ([]GethProcessVlogJob, error)

for refinedev

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL