Documentation ¶
Index ¶
- func GetTotalDexTxnJobCount(dbConnPgx utils.PgxIface) (*int, error)
- func InsertDexTxnJob(dbConnPgx utils.PgxIface, dexTxnJob *DexTxnJob) (int, error)
- func InsertDexTxnJobList(dbConnPgx utils.PgxIface, dexTxnJobList []DexTxnJob) error
- func RemoveDexTxnJob(dbConnPgx utils.PgxIface, dexTxnID *int) error
- func UpdateDexTxnJob(dbConnPgx utils.PgxIface, dexTxnJob *DexTxnJob) error
- type Attrs
- type DexTxnJob
- func GetDexTxnJob(dbConnPgx utils.PgxIface, dexTxnID *int) (*DexTxnJob, error)
- func GetDexTxnJobByJobId(dbConnPgx utils.PgxIface, jobID *int) ([]DexTxnJob, error)
- func GetDexTxnJobList(dbConnPgx utils.PgxIface) ([]DexTxnJob, error)
- func GetDexTxnJobListByPagination(dbConnPgx utils.PgxIface, _start, _end *int, _order, _sort string, ...) ([]DexTxnJob, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InsertDexTxnJob ¶
func InsertDexTxnJobList ¶
Types ¶
type DexTxnJob ¶
type DexTxnJob struct { ID *int `json:"id" db:"id"` JobID *int `json:"jobId" db:"job_id"` UUID string `json:"uuid" db:"uuid"` Name string `json:"name" db:"name" db:"name"` AlternateName string `json:"alternateName" db:"alternate_name"` StartDate time.Time `json:"startDate" db:"start_date"` EndDate time.Time `json:"endDate" db:"end_date"` Description string `json:"description" db:"description"` StatusID *int `json:"statusId" db:"status_id"` ChainID *int `json:"chainId" db:"chain_id"` ExchangeID *int `json:"exchangeId" db:"exchange_id"` TransactionHashes []string `json:"trasnactionHashes" db:"transaction_hashes"` CreatedBy string `json:"createdBy" db:"created_by"` CreatedAt time.Time `json:"createdAt" db:"created_at"` UpdatedBy string `json:"updatedBy" db:"updated_by"` UpdatedAt time.Time `json:"updatedAt" db:"updated_at"` }
Asset
func GetDexTxnJobByJobId ¶
Click to show internal directories.
Click to hide internal directories.