Documentation
¶
Overview ¶
Contains shared artifacts for the Deepgram Go SDK.
This package contains the initialization code for the Deepgram Go SDK
Index ¶
Constants ¶
const ( LogLevelDefault LogLevel = iota LogLevelErrorOnly = 1 LogLevelStandard = 2 LogLevelElevated = 3 LogLevelFull = 4 LogLevelDebug = 5 LogLevelTrace = 6 LogLevelVerbose = 7 )
The verbosity of the logging to the console or logfile. Default is LogLevelStandard LogLevelFull contains INFO related messages that could be helpful in debugging (recommended and default) LogLevelTrace is very detailed function enter, highly verbose statements, function exit LogLevelVerbose contains data movement on top of LogLevelTrace. This is extremely chatty.
const ( // default host DefaultHost string = "api.deepgram.com" )
Variables ¶
This section is empty.
Functions ¶
func Init ¶
func Init(init InitLib)
The SDK Init function for this library. Allows you to set the logging level and use of a log file. Default is output to the stdout.
func InitWithDefault ¶
func InitWithDefault()
InitWithDefault is the SDK Init function for this library using default values.