Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Job ¶
type Job struct { ID string `json:"job_id" valid:"uuid" gorm:"type:uuid;primary_key"` OutputBucketPath string `json:"output_bucket_path" valid:"notnull"` Status string `json:"status" valid:"notnull"` Video *Video `json:"video" valid:"-"` VideoID string `json:"-" valid:"-" gorm:"column:video_id;type:uuid;notnull"` Error string `valid:"-"` CreatedAt time.Time `json:"created_at" valid:"-"` UpdatedAt time.Time `json:"updated_at" valid:"-"` }
type Video ¶
type Video struct { ID string `json:"encoded_video_folder" valid:"uuid" gorm:"type:uuid;primary_key"` ResourceID string `json:"resource_id" valid:"notnull" gorm:"type:varchar(255)"` FilePath string `json:"file_path" valid:"notnull" gorm:"type:varchar(255)"` CreatedAt time.Time `json:"-" valid:"-"` Jobs []*Job `json:"-" valid:"-" gorm:"ForeignKey:VideoID"` }
Click to show internal directories.
Click to hide internal directories.