Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidUUID = errors.New("invalid UUID provided") ErrResourceNotFound = errors.New("resource not found") )
Functions ¶
This section is empty.
Types ¶
type CreateMedia ¶
type CreateMedia struct {
Title string `json:"title" validate:"required,gte=1,lte=255" example:"Sheep Discovers How To Use A Trampoline"`
}
type FileFormat ¶
type FileFormat struct { Filename string `json:"filename"` NBStreams int `json:"nb_streams"` NBPrograms int `json:"nb_programs"` FormatName string `json:"format_name"` FormatLongName string `json:"format_long_name"` StartTimeSeconds float64 `json:"start_time,string"` DurationSeconds float64 `json:"duration,string"` Size string `json:"size"` BitRate string `json:"bit_rate"` ProbeScore int `json:"probe_score"` }
type HealthCheckResponse ¶
type UpdateMedia ¶
type UpdateMedia struct {
CreateMedia
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.