Documentation ¶
Index ¶
- type ComponentVersion
- type DBTX
- type EncodeTask
- type IndexInvalid
- type InsertComponentVersionParams
- type InsertEncodeTaskParams
- type InsertProgramMessageParams
- type InsertProgramRecordingParams
- type InsertProgramServiceParams
- type InsertRecordedFilesParams
- type InsertTranscribeTaskParams
- type Program
- type ProgramMessage
- type ProgramRecording
- type ProgramService
- type Queries
- func (q *Queries) CreateOrUpdateService(ctx context.Context, service Service) error
- func (q *Queries) DeleteProgramRecordingByProgramId(ctx context.Context, programID int64) error
- func (q *Queries) GetComponentVersion(ctx context.Context, component string) (ComponentVersion, error)
- func (q *Queries) GetEncodeTaskByTaskID(ctx context.Context, taskID string) (EncodeTask, error)
- func (q *Queries) GetProgram(ctx context.Context, id int64) (Program, error)
- func (q *Queries) GetProgramMessageByMessageID(ctx context.Context, messageID string) (ProgramMessage, error)
- func (q *Queries) GetProgramMessageByProgramID(ctx context.Context, programID int64) (ProgramMessage, error)
- func (q *Queries) GetProgramRecording(ctx context.Context, id int32) (ProgramRecording, error)
- func (q *Queries) GetProgramRecordingByProgramId(ctx context.Context, programID int64) (ProgramRecording, error)
- func (q *Queries) GetProgramServiceByProgramID(ctx context.Context, programID int64) (ProgramService, error)
- func (q *Queries) GetProgramServiceByServiceID(ctx context.Context, serviceID int64) (ProgramService, error)
- func (q *Queries) GetService(ctx context.Context, id int64) (Service, error)
- func (q *Queries) GetServiceByProgramID(ctx context.Context, programID int64) (Service, error)
- func (q *Queries) GetTranscribeTaskByTaskID(ctx context.Context, taskID string) (TranscribeTask, error)
- func (q *Queries) InsertComponentVersion(ctx context.Context, arg InsertComponentVersionParams) error
- func (q *Queries) InsertEncodeTask(ctx context.Context, arg InsertEncodeTaskParams) error
- func (q *Queries) InsertProgram(ctx context.Context, p Program) error
- func (q *Queries) InsertProgramMessage(ctx context.Context, arg InsertProgramMessageParams) error
- func (q *Queries) InsertProgramRecording(ctx context.Context, arg InsertProgramRecordingParams) error
- func (q *Queries) InsertProgramService(ctx context.Context, arg InsertProgramServiceParams) error
- func (q *Queries) InsertRecordedFiles(ctx context.Context, arg InsertRecordedFilesParams) error
- func (q *Queries) InsertTranscribeTask(ctx context.Context, arg InsertTranscribeTaskParams) error
- func (q *Queries) SetIndexInvalid(ctx context.Context, arg SetIndexInvalidParams) error
- func (q *Queries) UpdateComponentVersion(ctx context.Context, arg UpdateComponentVersionParams) error
- func (q *Queries) UpdateProgram(ctx context.Context, p Program) error
- func (q *Queries) UpdateRecordedFilesAribb24Txt(ctx context.Context, arg UpdateRecordedFilesAribb24TxtParams) error
- func (q *Queries) UpdateRecordedFilesMp4(ctx context.Context, arg UpdateRecordedFilesMp4Params) error
- func (q *Queries) UpdateRecordedFilesTranscribedTxt(ctx context.Context, arg UpdateRecordedFilesTranscribedTxtParams) error
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
- type RecordedFile
- type Service
- type SetIndexInvalidParams
- type TranscribeTask
- type UpdateComponentVersionParams
- type UpdateRecordedFilesAribb24TxtParams
- type UpdateRecordedFilesMp4Params
- type UpdateRecordedFilesTranscribedTxtParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComponentVersion ¶
type EncodeTask ¶
type IndexInvalid ¶
type InsertEncodeTaskParams ¶
type InsertRecordedFilesParams ¶
type InsertRecordedFilesParams struct { ProgramID int64 `json:"programID"` M2tsPath sql.NullString `json:"m2tsPath"` }
type Program ¶
type Program struct { ID int64 `json:"id"` Json json.RawMessage `json:"-"` EventID int32 `json:"eventId"` ServiceID int32 `json:"serviceId"` NetworkID int32 `json:"networkId"` StartAt int64 `json:"startAt"` Duration int32 `json:"duration"` IsFree bool `json:"isFree"` Name string `json:"name"` Description string `json:"description"` CreatedAt time.Time `json:"-"` UpdatedAt time.Time `json:"-"` Genre string `json:"-"` }
func (*Program) UnmarshalJSON ¶
type ProgramMessage ¶
type ProgramRecording ¶
type ProgramService ¶
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) CreateOrUpdateService ¶
func (*Queries) DeleteProgramRecordingByProgramId ¶
func (*Queries) GetComponentVersion ¶
func (*Queries) GetEncodeTaskByTaskID ¶
func (*Queries) GetProgram ¶
func (*Queries) GetProgramMessageByMessageID ¶
func (*Queries) GetProgramMessageByProgramID ¶
func (*Queries) GetProgramRecording ¶
func (*Queries) GetProgramRecordingByProgramId ¶
func (*Queries) GetProgramServiceByProgramID ¶
func (*Queries) GetProgramServiceByServiceID ¶
func (*Queries) GetService ¶
func (*Queries) GetServiceByProgramID ¶
func (*Queries) GetTranscribeTaskByTaskID ¶
func (*Queries) InsertComponentVersion ¶
func (q *Queries) InsertComponentVersion(ctx context.Context, arg InsertComponentVersionParams) error
func (*Queries) InsertEncodeTask ¶
func (q *Queries) InsertEncodeTask(ctx context.Context, arg InsertEncodeTaskParams) error
func (*Queries) InsertProgram ¶
func (*Queries) InsertProgramMessage ¶
func (q *Queries) InsertProgramMessage(ctx context.Context, arg InsertProgramMessageParams) error
func (*Queries) InsertProgramRecording ¶
func (q *Queries) InsertProgramRecording(ctx context.Context, arg InsertProgramRecordingParams) error
func (*Queries) InsertProgramService ¶
func (q *Queries) InsertProgramService(ctx context.Context, arg InsertProgramServiceParams) error
func (*Queries) InsertRecordedFiles ¶
func (q *Queries) InsertRecordedFiles(ctx context.Context, arg InsertRecordedFilesParams) error
func (*Queries) InsertTranscribeTask ¶
func (q *Queries) InsertTranscribeTask(ctx context.Context, arg InsertTranscribeTaskParams) error
func (*Queries) SetIndexInvalid ¶
func (q *Queries) SetIndexInvalid(ctx context.Context, arg SetIndexInvalidParams) error
func (*Queries) UpdateComponentVersion ¶
func (q *Queries) UpdateComponentVersion(ctx context.Context, arg UpdateComponentVersionParams) error
func (*Queries) UpdateProgram ¶
func (*Queries) UpdateRecordedFilesAribb24Txt ¶
func (q *Queries) UpdateRecordedFilesAribb24Txt(ctx context.Context, arg UpdateRecordedFilesAribb24TxtParams) error
func (*Queries) UpdateRecordedFilesMp4 ¶
func (q *Queries) UpdateRecordedFilesMp4(ctx context.Context, arg UpdateRecordedFilesMp4Params) error
func (*Queries) UpdateRecordedFilesTranscribedTxt ¶
func (q *Queries) UpdateRecordedFilesTranscribedTxt(ctx context.Context, arg UpdateRecordedFilesTranscribedTxtParams) error
type RecordedFile ¶
type RecordedFile struct { ID int32 `json:"id"` ProgramID int64 `json:"programID"` M2tsPath sql.NullString `json:"m2tsPath"` Mp4Path sql.NullString `json:"mp4Path"` Aribb24TxtPath sql.NullString `json:"aribb24TxtPath"` TranscribedTxtPath sql.NullString `json:"transcribedTxtPath"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` }
type Service ¶
type Service struct { ID int64 `json:"id"` ServiceID int32 `json:"serviceId"` NetworkID int32 `json:"networkId"` Type int32 `json:"type"` LogoID int32 `json:"logoID"` RemoteControlKeyID int32 `json:"remoteControlKeyId"` Name string `json:"name"` ChannelType string `json:"-"` Channel string `json:"-"` HasLogoData bool `json:"hasLogoData"` CreatedAt time.Time `json:"-"` UpdatedAt time.Time `json:"-"` }
func (*Service) UnmarshalJSON ¶
type SetIndexInvalidParams ¶
type TranscribeTask ¶
type UpdateRecordedFilesAribb24TxtParams ¶
type UpdateRecordedFilesAribb24TxtParams struct { Aribb24TxtPath sql.NullString `json:"aribb24TxtPath"` ProgramID int64 `json:"programID"` }
type UpdateRecordedFilesMp4Params ¶
type UpdateRecordedFilesMp4Params struct { Mp4Path sql.NullString `json:"mp4Path"` ProgramID int64 `json:"programID"` }
type UpdateRecordedFilesTranscribedTxtParams ¶
type UpdateRecordedFilesTranscribedTxtParams struct { TranscribedTxtPath sql.NullString `json:"transcribedTxtPath"` ProgramID int64 `json:"programID"` }
Click to show internal directories.
Click to hide internal directories.