package
1.7.0-dev.1
Repository: https://github.com/deepgram/deepgram-go-sdk.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
The SDK Init function for this library.
InitWithDefault is the SDK Init function for this library using default values.
options.
NewWSUsingChan 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.
Using Channels
*/
NewWSUsingChanForDemo creates a new websocket connection for demo purposes only
Input parameters:
- ctx: context.Context object
- tOptions: SettingsConfigurationOptions which allows overriding things like language, model, etc.
NewWSUsingChanWithCancel 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.
NewWebSocketUsingChanWithDefaults creates a new websocket connection with all default options
Input parameters:
- ctx: context.Context object
- tOptions: SettingsConfigurationOptions which allows overriding things like language, model, etc.
# Constants
please see pkg/common/init.go for more information.
please see pkg/common/init.go for more information.
please see pkg/common/init.go for more information.
please see pkg/common/init.go for more information.
please see pkg/common/init.go for more information.
please see pkg/common/init.go for more information.
please see pkg/common/init.go for more information.
please see pkg/common/init.go for more information.
**********************************/ WebSocket Agent**********************************/.
# Type aliases
WSChannel is an alias for listenv1ws.WSChannel.