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 int64
Author string
Releases string
Comment string
Year int64
Filename string
Format string
ContentKey string
ContentHash string
UploadedAt string
Downloads int64
CreatedAt string
UpdatedAt string
}
Click to show internal directories.
Click to hide internal directories.