16 lines
375 B
Go
16 lines
375 B
Go
|
package model
|
||
|
|
||
|
type Transcoding struct {
|
||
|
ID string `json:"id" orm:"column(id)"`
|
||
|
Name string `json:"name"`
|
||
|
TargetFormat string `json:"targetFormat"`
|
||
|
Command string `json:"command"`
|
||
|
DefaultBitRate int `json:"defaultBitRate"`
|
||
|
}
|
||
|
|
||
|
type Transcodings []Transcoding
|
||
|
|
||
|
type TranscodingRepository interface {
|
||
|
Put(*Transcoding) error
|
||
|
}
|