package
1.7.0-dev.1
Repository: https://github.com/deepgram/deepgram-go-sdk.git
Documentation: pkg.go.dev

# Functions

New creates a new websocket connection with the specified options Input parameters: - ctx: context.Context object - apiKey: string containing the Deepgram API key - cOptions: ClientOptions which allows overriding things like hostname, version of the API, etc.
NewForDemo creates a new websocket connection with all default options Notes: - The Deepgram API KEY is read from the environment variable DEEPGRAM_API_KEY */.
New creates a new websocket connection with the specified options Input parameters: - ctx: context.Context object - ctxCancel: allow passing in own cancel - apiKey: string containing the Deepgram API key - cOptions: ClientOptions which allows overriding things like hostname, version of the API, etc.
NewWithDefaults creates a new websocket connection with all default options Notes: - The Deepgram API KEY is read from the environment variable DEEPGRAM_API_KEY - The chans handler is set to the default handler which just prints all messages to the console */.

# Constants

external constants.
external constants.
MessageTypeKeepAlive keep the connection alive.
No description provided by the author
external constants.

# Structs

WSChannel is a struct representing the websocket client connection using channels.

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
client messages.
No description provided by the author
No description provided by the author