persistence

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReqData

type ReqData struct {
	ID        string
	FileCount int
	FileName  sql.NullString // file name for audio download
	FileNames []string       // file names for upload
	Email     sql.NullString
	Params    map[string]string
	RequestID string

	Created time.Time
}

ReqData table

type Status

type Status struct {
	ID               string
	Status           string
	Error            sql.NullString
	ErrorCode        sql.NullString
	AudioReady       bool
	Progress         sql.NullInt32
	AvailableResults []string
	RecognizedText   sql.NullString

	Version int
	Created time.Time
	Updated time.Time
}

Status information table

type WorkData

type WorkData struct {
	ID          string
	ExternalID  string
	Transcriber sql.NullString
	TryCount    int

	Version int
	Created time.Time
	Updated time.Time
}

WorkData table

Jump to

Keyboard shortcuts

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