Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InsertStrategyJob ¶
func InsertStrategyJob(strategyJob StrategyJob) (int, int, error)
func InsertStrategyJobList ¶
func InsertStrategyJobList(strategyJobList []StrategyJob) error
func RemoveStrategyJob ¶
func UpdateStrategyJob ¶
func UpdateStrategyJob(strategyJob StrategyJob) error
Types ¶
type StrategyJob ¶
type StrategyJob struct { StrategyID *int `json:"strategyId"` 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"` ResponseStatus string `json:"responseStatus"` RequestUrl string `json:"requestUrl"` RequestBody string `json:"requestBody"` RequestMethod string `json:"requestMethod"` ResponseData string `json:"responseData"` ResponseDataJson Attrs `json:"responseDataJson"` CreatedBy string `json:"createdBy"` CreatedAt time.Time `json:"createdAt"` UpdatedBy string `json:"updatedBy"` UpdatedAt time.Time `json:"updatedAt"` }
Asset
func GetStrategyJob ¶
func GetStrategyJob(strategyID int, jobID int) (*StrategyJob, error)
func GetStrategyJobByStrategyID ¶
func GetStrategyJobByStrategyID(strategyID int) (*StrategyJob, error)
func GetStrategyJobList ¶
func GetStrategyJobList() ([]StrategyJob, error)
func GetTopTenStrategyJobs ¶
func GetTopTenStrategyJobs() ([]StrategyJob, error)
Click to show internal directories.
Click to hide internal directories.