dexjob

package
v1.3.57 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InsertDexTxnJob

func InsertDexTxnJob(dexTxnJob DexTxnJob) (int, error)

func InsertDexTxnJobList

func InsertDexTxnJobList(dexTxnJobList []DexTxnJob) error

func InsertDexTxnJobListManual

func InsertDexTxnJobListManual(dexTxnJobList []DexTxnJob) error

func RemoveDexTxnJob

func RemoveDexTxnJob(dexTxnID int) error

func UpdateDexTxnJob

func UpdateDexTxnJob(dexTxnJob DexTxnJob) 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 DexTxnJob

type DexTxnJob struct {
	ID                *int      `json:"Id"`
	JobID             *int      `json:"jobId"`
	UUID              string    `json:"uuid"`
	Name              string    `json:"name"`
	AlternateName     string    `json:"alternateName"`
	StartDate         time.Time `json:"startDate"`
	EndDate           time.Time `json:"endDate"`
	Description       string    `json:"description"`
	StatusID          *int      `json:"statusId"`
	ChainID           *int      `json:"chainId"`
	ExchangeID        *int      `json:"exchangeId"`
	TransactionHashes []string  `json:"trasnactionHashes"`
	CreatedBy         string    `json:"createdBy"`
	CreatedAt         time.Time `json:"createdAt"`
	UpdatedBy         string    `json:"updatedBy"`
	UpdatedAt         time.Time `json:"updatedAt"`
}

Asset

func GetDexTxnJob

func GetDexTxnJob(dexTxnID int) (*DexTxnJob, error)

func GetDexTxnJobByJobId

func GetDexTxnJobByJobId(jobID int) ([]DexTxnJob, error)

func GetDexTxnJobList

func GetDexTxnJobList() ([]DexTxnJob, error)

Jump to

Keyboard shortcuts

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