Documentation ¶
Index ¶
- func GetTotalTransactionJobsCount(dbConnPgx utils.PgxIface) (*int, error)
- func InsertTransactionJob(dbConnPgx utils.PgxIface, transactionJob *TransactionJob) (int, int, error)
- func InsertTransactionJobs(dbConnPgx utils.PgxIface, transactionJobs []TransactionJob) error
- func RemoveTransactionJob(dbConnPgx utils.PgxIface, transactionID, jobID *int) error
- func RemoveTransactionJobByUUID(dbConnPgx utils.PgxIface, transactionJobUUID string) error
- func UpdateTransactionJob(dbConnPgx utils.PgxIface, transactionJob *TransactionJob) error
- func UpdateTransactionJobByUUID(dbConnPgx utils.PgxIface, transactionJob *TransactionJob) error
- type Attrs
- type TransactionJob
- func GetTransactionJob(dbConnPgx utils.PgxIface, transactionID, jobID *int) (*TransactionJob, error)
- func GetTransactionJobByUUID(dbConnPgx utils.PgxIface, transactionJobUUID string) (*TransactionJob, error)
- func GetTransactionJobList(dbConnPgx utils.PgxIface) ([]TransactionJob, error)
- func GetTransactionJobListByPagination(dbConnPgx utils.PgxIface, _start, _end *int, _order, _sort string, ...) ([]TransactionJob, error)
- func GetTransactionJobsByUUIDs(dbConnPgx utils.PgxIface, UUIDList []string) ([]TransactionJob, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InsertTransactionJob ¶
func InsertTransactionJobs ¶
func InsertTransactionJobs(dbConnPgx utils.PgxIface, transactionJobs []TransactionJob) error
func RemoveTransactionJob ¶
func UpdateTransactionJob ¶
func UpdateTransactionJob(dbConnPgx utils.PgxIface, transactionJob *TransactionJob) error
func UpdateTransactionJobByUUID ¶
func UpdateTransactionJobByUUID(dbConnPgx utils.PgxIface, transactionJob *TransactionJob) error
Types ¶
type TransactionJob ¶
type TransactionJob struct { TransactionID *int `json:"transactionId" db:"transaction_id"` //1 JobID *int `json:"jobId" db:"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 ResponseStatus string `json:"responseStatus" db:"response_status"` //10 RequestUrl string `json:"requestUrl" db:"request_url"` //11 RequestBody string `json:"requestBody" db:"request_body"` //12 RequestMethod string `json:"requestMethod" db:"request_method"` //13 ResponseData string `json:"responseData" db:"response_data"` //14 ResponseDataJson Attrs `json:"responseDataJson" db:"response_data_json"` //15 CreatedBy string `json:"createdBy" db:"created_by"` //16 CreatedAt time.Time `json:"createdAt" db:"created_at"` //17 UpdatedBy string `json:"updatedBy" db:"updated_by"` //18 UpdatedAt time.Time `json:"updatedAt" db:"updated_at"` //19 }
Asset
func GetTransactionJob ¶
func GetTransactionJob(dbConnPgx utils.PgxIface, transactionID, jobID *int) (*TransactionJob, error)
func GetTransactionJobByUUID ¶
func GetTransactionJobByUUID(dbConnPgx utils.PgxIface, transactionJobUUID string) (*TransactionJob, error)
func GetTransactionJobList ¶
func GetTransactionJobList(dbConnPgx utils.PgxIface) ([]TransactionJob, error)
func GetTransactionJobListByPagination ¶
func GetTransactionJobListByPagination(dbConnPgx utils.PgxIface, _start, _end *int, _order, _sort string, _filters []string) ([]TransactionJob, error)
for refinedev
func GetTransactionJobsByUUIDs ¶
func GetTransactionJobsByUUIDs(dbConnPgx utils.PgxIface, UUIDList []string) ([]TransactionJob, error)
Click to show internal directories.
Click to hide internal directories.