Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DBEntry ¶
type DBEntry struct { ID string Data string FileName string JobType string NumberOfSpeakers string RecordQuality string }
DBEntry keeps structure for AudioGetResponse
type DBResultEntry ¶
type DBResultEntry struct { ID string Error *DBTranscriptionError Transcription DBTranscriptionResult }
DBResultEntry keeps structure for TranscriptionPostRequest
func AddDBResultError ¶
func AddDBResultError(data *DBResultEntry, code, err string) *DBResultEntry
AddDBResultError adds error to object
type DBTranscriptionError ¶
DBTranscriptionError keeps structure for TranscriptionError
type DBTranscriptionResult ¶
DBTranscriptionResult keeps structure for Result
type KafkaTrMap ¶
KafkaTrMap maps kafkas and transcription ids
type ResponseMsg ¶
type ResponseMsg struct { ID string Error TranscriptionError }
ResponseMsg wrapped msg to be writen to kafkas AudioTextReadyEvent
type TranscriptionError ¶
TranscriptionError keeps error structure to put into kafkas event
Click to show internal directories.
Click to hide internal directories.