Documentation ¶
Index ¶
- func GetTotalMarketDataJobsCount(dbConnPgx utils.PgxIface) (*int, error)
- func InsertMarketDataJob(dbConnPgx utils.PgxIface, marketDataJob *MarketDataJob) (int, int, error)
- func InsertMarketDataJobList(dbConnPgx utils.PgxIface, marketDataJobList []MarketDataJob) error
- func RemoveMarketDataJob(dbConnPgx utils.PgxIface, marketDataID, jobID *int) error
- func UpdateMarketDataJob(dbConnPgx utils.PgxIface, marketDataJob *MarketDataJob) error
- type Attrs
- type MarketDataJob
- func GetMarketDataJob(dbConnPgx utils.PgxIface, marketDataID, jobID *int) (*MarketDataJob, error)
- func GetMarketDataJobByMarketDataID(dbConnPgx utils.PgxIface, marketDataID *int) (*MarketDataJob, error)
- func GetMarketDataJobList(dbConnPgx utils.PgxIface) ([]MarketDataJob, error)
- func GetMarketDataJobListByPagination(dbConnPgx utils.PgxIface, _start, _end *int, _order, _sort string, ...) ([]MarketDataJob, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InsertMarketDataJob ¶
func InsertMarketDataJobList ¶
func InsertMarketDataJobList(dbConnPgx utils.PgxIface, marketDataJobList []MarketDataJob) error
func RemoveMarketDataJob ¶
func UpdateMarketDataJob ¶
func UpdateMarketDataJob(dbConnPgx utils.PgxIface, marketDataJob *MarketDataJob) error
Types ¶
type MarketDataJob ¶
type MarketDataJob struct { MarketDataID *int `json:"marketDataId" db:"market_data_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 GetMarketDataJob ¶
func GetMarketDataJob(dbConnPgx utils.PgxIface, marketDataID, jobID *int) (*MarketDataJob, error)
func GetMarketDataJobByMarketDataID ¶
func GetMarketDataJobByMarketDataID(dbConnPgx utils.PgxIface, marketDataID *int) (*MarketDataJob, error)
func GetMarketDataJobList ¶
func GetMarketDataJobList(dbConnPgx utils.PgxIface) ([]MarketDataJob, error)
func GetMarketDataJobListByPagination ¶
func GetMarketDataJobListByPagination(dbConnPgx utils.PgxIface, _start, _end *int, _order, _sort string, _filters []string) ([]MarketDataJob, error)
for refinedev
Click to show internal directories.
Click to hide internal directories.