Documentation ¶
Index ¶
- Constants
- func HelloTask(ctx context.Context, t *asynq.Task) error
- func NewHelloTask() (*asynq.Task, error)
- func NewProgramDeleteOriginalTask(programId int64, contentPath string, monitorTaskInfos []*asynq.TaskInfo, ...) (*asynq.Task, error)
- func NewProgramEncodeTask(programId int64, contentPath string, outputPath string, queueName string) (*asynq.Task, error)
- func NewProgramExtractSubtileTask(programId int64, contentPath string, outputPath string, queueName string) (*asynq.Task, error)
- func NewProgramTranscriptionApiTask(programId int64, contentPath string, encodedPath string, outputPath string, ...) (*asynq.Task, error)
- func NewProgramTranscriptionLocalTask(programId int64, contentPath string, encodedPath string, outputPath string, ...) (*asynq.Task, error)
- type HelloPayload
- type ProgramDeleteOriginalPayload
- type ProgramDeleter
- type ProgramEncodePayload
- type ProgramEncoder
- type ProgramExtractSubtilePayload
- type ProgramExtractor
- type ProgramTranscriberApi
- type ProgramTranscriberLocal
- type ProgramTranscriptionApiPayload
- type ProgramTranscriptionLocalPayload
Constants ¶
View Source
const TypeHello = "hello"
View Source
const TypeProgramDeleteOriginal = "program:delete_original"
View Source
const TypeProgramEncode = "program:encode"
View Source
const TypeProgramExtractSubtitle = "program:extract_subtitle"
View Source
const TypeProgramTranscriptionApi = "program:transcription:api"
View Source
const TypeProgramTranscriptionLocal = "program:transcription:local"
Variables ¶
This section is empty.
Functions ¶
func NewHelloTask ¶
func NewProgramEncodeTask ¶
Types ¶
type HelloPayload ¶
type HelloPayload struct { }
type ProgramDeleter ¶
type ProgramDeleter struct {
// contains filtered or unexported fields
}
func NewProgramDeleter ¶
func (*ProgramDeleter) ProcessTask ¶
type ProgramEncodePayload ¶
type ProgramEncoder ¶
type ProgramEncoder struct {
// contains filtered or unexported fields
}
func NewProgramEncoder ¶
func (*ProgramEncoder) ProcessTask ¶
type ProgramExtractor ¶
type ProgramExtractor struct {
// contains filtered or unexported fields
}
func NewProgramExtractor ¶
func NewProgramExtractor(logger *zap.Logger, recordedBasePath string, transcribedBasePath string) *ProgramExtractor
func (*ProgramExtractor) ProcessTask ¶
type ProgramTranscriberApi ¶
type ProgramTranscriberApi struct {
// contains filtered or unexported fields
}
func (*ProgramTranscriberApi) ProcessTask ¶
type ProgramTranscriberLocal ¶
type ProgramTranscriberLocal struct {
// contains filtered or unexported fields
}
func (*ProgramTranscriberLocal) ProcessTask ¶
Click to show internal directories.
Click to hide internal directories.