model

package
v0.0.0-...-a14a4d2 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const JobQueueStatusTable = "job_queue_status"

JobQueueStatusTable is the name of table in DB that holds the queue status

Variables

This section is empty.

Functions

This section is empty.

Types

type JobQueueStatus

type JobQueueStatus struct {
	ID         int       `orm:"pk;auto;column(id)" json:"id,omitempty"`
	JobType    string    `orm:"column(job_type)" json:"job_type,omitempty"`
	Paused     bool      `orm:"column(paused)" json:"paused,omitempty"`
	UpdateTime time.Time `orm:"column(update_time);auto_now"`
}

JobQueueStatus ...

func (*JobQueueStatus) TableName

func (u *JobQueueStatus) TableName() string

TableName ...

Jump to

Keyboard shortcuts

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