Documentation ¶
Overview ¶
This package defines the Analyze API for Deepgram
Index ¶
- Variables
- type AnalyzeClient
- func (c *AnalyzeClient) FromFile(ctx context.Context, file string, options interfaces.AnalyzeOptions) (*api.AnalyzeResponse, error)
- func (c *AnalyzeClient) FromStream(ctx context.Context, src io.Reader, options interfaces.AnalyzeOptions) (*api.AnalyzeResponse, error)
- func (c *AnalyzeClient) FromURL(ctx context.Context, url string, options interfaces.AnalyzeOptions) (*api.AnalyzeResponse, 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 AnalyzeClient ¶
func New ¶
func New(client *client.Client) *AnalyzeClient
func (*AnalyzeClient) FromFile ¶
func (c *AnalyzeClient) FromFile(ctx context.Context, file string, options interfaces.AnalyzeOptions) (*api.AnalyzeResponse, error)
func (*AnalyzeClient) FromStream ¶
func (c *AnalyzeClient) FromStream(ctx context.Context, src io.Reader, options interfaces.AnalyzeOptions) (*api.AnalyzeResponse, error)
func (*AnalyzeClient) FromURL ¶
func (c *AnalyzeClient) FromURL(ctx context.Context, url string, options interfaces.AnalyzeOptions) (*api.AnalyzeResponse, error)
Click to show internal directories.
Click to hide internal directories.