transactionjob

package
v1.3.63 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InsertTransactionJob

func InsertTransactionJob(transactionJob TransactionJob) (int, int, error)

func InsertTransactionJobs

func InsertTransactionJobs(transactionJobs []TransactionJob) error

func RemoveTransactionJob

func RemoveTransactionJob(transactionID int, jobID int) error

func RemoveTransactionJobByUUID

func RemoveTransactionJobByUUID(transactionJobUUID string) error

func UpdateTransactionJob

func UpdateTransactionJob(transactionJob TransactionJob) error

func UpdateTransactionJobByUUID

func UpdateTransactionJobByUUID(transactionJob TransactionJob) error

Types

type Attrs

type Attrs map[string]interface{}

func (*Attrs) Scan

func (a *Attrs) Scan(value interface{}) error

func (Attrs) Value

func (a Attrs) Value() (driver.Value, error)

type TransactionJob

type TransactionJob struct {
	TransactionID    *int      `json:"transactionId"`    //1
	JobID            *int      `json:"jobId"`            //2
	UUID             string    `json:"uuid"`             //3
	Name             string    `json:"name"`             //4
	AlternateName    string    `json:"alternateName"`    //5
	StartDate        time.Time `json:"startDate"`        //6
	EndDate          time.Time `json:"endDate"`          //7
	Description      string    `json:"description"`      //8
	StatusID         *int      `json:"statusId"`         //9
	ResponseStatus   string    `json:"responseStatus"`   //10
	RequestUrl       string    `json:"requestUrl"`       //11
	RequestBody      string    `json:"requestBody"`      //12
	RequestMethod    string    `json:"requestMethod"`    //13
	ResponseData     string    `json:"responseData"`     //14
	ResponseDataJson Attrs     `json:"responseDataJson"` //15
	CreatedBy        string    `json:"createdBy"`        //16
	CreatedAt        time.Time `json:"createdAt"`        //17
	UpdatedBy        string    `json:"updatedBy"`        //18
	UpdatedAt        time.Time `json:"updatedAt"`        //19
}

Asset

func GetTopTenTransactionJobs

func GetTopTenTransactionJobs() ([]TransactionJob, error)

func GetTransactionJob

func GetTransactionJob(transactionID int, jobID int) (*TransactionJob, error)

func GetTransactionJobByUUID

func GetTransactionJobByUUID(transactionJobUUID string) (*TransactionJob, error)

func GetTransactionJobList

func GetTransactionJobList() ([]TransactionJob, error)

func GetTransactionJobsByUUIDs

func GetTransactionJobsByUUIDs(UUIDList []string) ([]TransactionJob, error)

Jump to

Keyboard shortcuts

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