Documentation ¶
Index ¶
- func InsertPositionJob(positionJob PositionJob) (int, int, error)
- func InsertPositionJobs(positionJobs []PositionJob) error
- func RemovePositionJob(positionID int, jobID int) error
- func RemovePositionJobByUUID(positionJobUUID string) error
- func UpdatePositionJob(positionJob PositionJob) error
- func UpdatePositionJobByUUID(positionJob PositionJob) error
- type Attrs
- type PositionJob
- func GetPositionJob(positionID int, jobID int) (*PositionJob, error)
- func GetPositionJobByUUID(positionJobUUID string) (*PositionJob, error)
- func GetPositionJobList() ([]PositionJob, error)
- func GetPositionJobsByUUIDs(UUIDList []string) ([]PositionJob, error)
- func GetTopTenPositionJobs() ([]PositionJob, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InsertPositionJob ¶
func InsertPositionJob(positionJob PositionJob) (int, int, error)
func InsertPositionJobs ¶
func InsertPositionJobs(positionJobs []PositionJob) error
func RemovePositionJob ¶
func RemovePositionJobByUUID ¶
func UpdatePositionJob ¶
func UpdatePositionJob(positionJob PositionJob) error
func UpdatePositionJobByUUID ¶
func UpdatePositionJobByUUID(positionJob PositionJob) error
Types ¶
type PositionJob ¶
type PositionJob struct { PositionID *int `json:"positionId"` //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 GetPositionJob ¶
func GetPositionJob(positionID int, jobID int) (*PositionJob, error)
func GetPositionJobByUUID ¶
func GetPositionJobByUUID(positionJobUUID string) (*PositionJob, error)
func GetPositionJobList ¶
func GetPositionJobList() ([]PositionJob, error)
func GetPositionJobsByUUIDs ¶
func GetPositionJobsByUUIDs(UUIDList []string) ([]PositionJob, error)
func GetTopTenPositionJobs ¶
func GetTopTenPositionJobs() ([]PositionJob, error)
Click to show internal directories.
Click to hide internal directories.