Documentation ¶
Overview ¶
This package defines the Pre-recorded API for Deepgram
Index ¶
- Variables
- type SpeakClient
- func (c *SpeakClient) ToFile(ctx context.Context, text string, options interfaces.SpeakOptions, w io.Writer) (*api.SpeakResponse, error)
- func (c *SpeakClient) ToSave(ctx context.Context, filename string, text string, ...) (*api.SpeakResponse, error)
- func (c *SpeakClient) ToStream(ctx context.Context, text string, options interfaces.SpeakOptions, ...) (*api.SpeakResponse, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrInvalidInput required input was not found ErrInvalidInput = errors.New("required input was not found") )
errors
Functions ¶
This section is empty.
Types ¶
type SpeakClient ¶
func New ¶
func New(client *client.Client) *SpeakClient
func (*SpeakClient) ToFile ¶
func (c *SpeakClient) ToFile(ctx context.Context, text string, options interfaces.SpeakOptions, w io.Writer) (*api.SpeakResponse, error)
func (*SpeakClient) ToSave ¶
func (c *SpeakClient) ToSave(ctx context.Context, filename string, text string, options interfaces.SpeakOptions) (*api.SpeakResponse, error)
func (*SpeakClient) ToStream ¶
func (c *SpeakClient) ToStream(ctx context.Context, text string, options interfaces.SpeakOptions, buf *interfaces.RawResponse) (*api.SpeakResponse, error)
Click to show internal directories.
Click to hide internal directories.