Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartWorkerService ¶
func StartWorkerService(data *ServiceData) error
StartWorkerService starts the event queue listener service to listen for events
Types ¶
type FakeMessageSender ¶
type FakeMessageSender struct { }
FakeMessageSender is mail sender doing nothing
func NewFakeMessageSender ¶
func NewFakeMessageSender() *FakeMessageSender
NewFakeMessageSender inits new instance
type ResultSaver ¶
ResultSaver saves the transcription result into db
type ServiceData ¶
type ServiceData struct { MessageSender messages.Sender InformMessageSender messages.Sender Publisher messages.Publisher StatusSaver status.Saver ResultSaver ResultSaver DecodeCh <-chan amqp.Delivery SplitChannelsCh <-chan amqp.Delivery AudioConvertCh <-chan amqp.Delivery DiarizationCh <-chan amqp.Delivery TranscriptionCh <-chan amqp.Delivery RescoreCh <-chan amqp.Delivery ResultMakeCh <-chan amqp.Delivery // contains filtered or unexported fields }
ServiceData keeps data required for service work
type SpeechIndicator ¶
SpeechIndicator looks if request audio has speech
Click to show internal directories.
Click to hide internal directories.