positionjob

package
v1.3.29 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

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 RemovePositionJob(positionID int, jobID int) error

func RemovePositionJobByUUID

func RemovePositionJobByUUID(positionJobUUID string) error

func UpdatePositionJob

func UpdatePositionJob(positionJob PositionJob) error

func UpdatePositionJobByUUID

func UpdatePositionJobByUUID(positionJob PositionJob) 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 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)

Jump to

Keyboard shortcuts

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