Documentation ¶
Index ¶
Constants ¶
View Source
const ( // StAudioReady status table field for audioReady StAudioReady = "audioReady" // StError status table field for error StError = "error" // StErrorCode status table field for erorCode StErrorCode = "errorCode" // StAvailableResults status table field for available Results StAvailableResults = "avResults" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Request ¶
type Request struct { ID string `json:"ID"` Email string `json:"email,omitempty"` File string `json:"file,omitempty"` ExternalID string `json:"externalID,omitempty"` RecognizerKey string `json:"recognizerKey,omitempty"` RecognizerID string `json:"recognizerID,omitempty"` }
Request is table for initial request info
type Status ¶
type Status struct { ID string `bson:"ID"` Status string `bson:"status,omitempty"` Error string `bson:"error,omitempty"` ErrorCode string `bson:"errorCode,omitempty"` AudioReady bool `bson:"audioReady,omitempty"` AvailableResults []string `bson:"avResults,omitempty"` }
Status keeps job status
Click to show internal directories.
Click to hide internal directories.