Documentation
¶
Index ¶
- Variables
- type PrerecordedClient
- func (c *PrerecordedClient) FromFile(ctx context.Context, file string, ...) (*api.PreRecordedResponse, error)
- func (c *PrerecordedClient) FromStream(ctx context.Context, src io.Reader, ...) (*api.PreRecordedResponse, error)
- func (c *PrerecordedClient) FromURL(ctx context.Context, url string, ...) (*api.PreRecordedResponse, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrInvalidInput required input was not found ErrInvalidInput = errors.New("required input was not found") // ErrInvalidURIExtension couldn't find a period to indicate a file extension ErrInvalidURIExtension = errors.New("couldn't find a period to indicate a file extension") )
Functions ¶
This section is empty.
Types ¶
type PrerecordedClient ¶
func New ¶
func New(client *client.Client) *PrerecordedClient
func (*PrerecordedClient) FromFile ¶
func (c *PrerecordedClient) FromFile(ctx context.Context, file string, options interfaces.PreRecordedTranscriptionOptions) (*api.PreRecordedResponse, error)
func (*PrerecordedClient) FromStream ¶
func (c *PrerecordedClient) FromStream(ctx context.Context, src io.Reader, options interfaces.PreRecordedTranscriptionOptions) (*api.PreRecordedResponse, error)
func (*PrerecordedClient) FromURL ¶
func (c *PrerecordedClient) FromURL(ctx context.Context, url string, options interfaces.PreRecordedTranscriptionOptions) (*api.PreRecordedResponse, error)
Directories
¶
Path | Synopsis |
---|---|
TODO: Need to look into this before the v1 release
|
TODO: Need to look into this before the v1 release |
Click to show internal directories.
Click to hide internal directories.