Documentation
¶
Index ¶
- type DBTX
- type GetSubtitleRow
- type InsertSubtitleParams
- type ListLanguagesRow
- type Queries
- func (q *Queries) GetSubtitle(ctx context.Context, id string) (GetSubtitleRow, error)
- func (q *Queries) IncrementDownloads(ctx context.Context, id string) error
- func (q *Queries) InsertSubtitle(ctx context.Context, arg InsertSubtitleParams) (sql.Result, error)
- func (q *Queries) ListLanguages(ctx context.Context) ([]ListLanguagesRow, error)
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
- type Subtitle
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetSubtitleRow ¶
type InsertSubtitleParams ¶
type ListLanguagesRow ¶
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) GetSubtitle ¶
func (*Queries) IncrementDownloads ¶
func (*Queries) InsertSubtitle ¶
func (*Queries) ListLanguages ¶
func (q *Queries) ListLanguages(ctx context.Context) ([]ListLanguagesRow, error)
type Subtitle ¶
type Subtitle struct {
ID string
SubsceneID string
Title string
Slug string
ImdbID string
Language string
Hi bool
Author string
Releases json.RawMessage
Comment string
Year int32
Filename string
Format string
ContentKey string
ContentHash string
UploadedAt sql.NullTime
Downloads int32
CreatedAt time.Time
UpdatedAt time.Time
}
Click to show internal directories.
Click to hide internal directories.