status

package
v0.0.0-...-4c7982d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 8, 2023 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Name

func Name(st Status) string

Name return status as string

Types

type Saver

type Saver interface {
	Save(id string, st Status) error
	SaveError(id string, errorStr string) error
	SaveF(id string, set, unset map[string]interface{}) error
}

Saver saves the transcription process status

type Status

type Status int

Status represents transcription status

const (
	// Uploaded value
	Uploaded Status = iota + 1
	// SplitChannels value
	SplitChannels
	// AudioConvert value
	AudioConvert
	// Diarization value
	Diarization
	// Transcription value
	Transcription
	// Rescore status
	Rescore
	// ResultMake status
	ResultMake
	// JoinResults status
	JoinResults
	// Completed status
	Completed
)

func From

func From(st string) Status

From converts string to Status

func Min

func Min(st1, st2 Status) Status

Min selects min status of the two

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL