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

# Packages

This package defines interfaces for the live API.

# Functions

New creates a CallbackRouter with a user-defined callback.
NewWithDefault creates a CallbackRouter with the default callback handler.
New creates a ChanRouter with a user-defined channels gocritic:ignore.
NewWithDefault creates a ChanRouter with the default callback handler.
NewDefaultCallbackHandler creates a new DefaultCallbackHandler.
NewDefaultChanHandler creates a new DefaultChanHandler.

# Constants

No description provided by the author

# Variables

ErrInvalidInput required input was not found.
ErrInvalidMessageType invalid message type.
ErrUserCallbackNotDefined user callback object not defined.

# Structs

CallbackRouter routes events.
ChanRouter routes events.
Using Callbacks */ DefaultCallbackHandler is a default callback handler for live transcription Simply prints the transcript to stdout.
Using Channels */ DefaultCallbackHandler is a default callback handler for live transcription Simply prints the transcript to stdout.

# Type aliases

MessageRouter is the interface for routing messages Deprecated: Use CallbackRouter instead.