package
1.7.0-dev.1
Repository: https://github.com/deepgram/deepgram-go-sdk.git
Documentation: pkg.go.dev
# Constants
These are the message types that can be received from the text-to-speech streaming API.
These are the message types that can be received from the text-to-speech streaming API.
These are the message types that can be received from the text-to-speech streaming API.
These are the message types that can be received from the text-to-speech streaming API.
These are the message types that can be received from the text-to-speech streaming API.
message types.
These are the message types that can be received from the text-to-speech streaming API.
"Error" type.
# Structs
ClearedResponse is the response which indicates that the server has cleared the buffer.
FlushedResponse is the response which indicates that the server has flushed the buffer and is ready to return audio.
**********************************/ MessageType is the header to bootstrap you way unmarshalling other messages**********************************/
Example:
{
"type": "message",
"message": {
..
MetadataResponse is the response from the text-to-speech request which contains metadata about the request.
# Interfaces
Callback Interfaces
*/ SpeakMessageCallback is a callback used to receive notifications for platforms messages.
Chan Interfaces
*/ SpeakMessageChan is a channel used to receive notifcations for platforms messages.
# Type aliases
CloseResponse is the response from closing the connection.
ErrorResponse is the Deepgram specific response error.
OpenResponse is the response from opening the connection.
**********************************/ Request/Input structs**********************************/.
These are the message types that can be received from the live API.
WarningResponse is the Deepgram specific response warning.