Documentation ¶
Index ¶
- type Client
- func (sp *Client) Clean(ctx context.Context, ID string) error
- func (sp *Client) GetAudio(ctx context.Context, ID string) (*tapi.FileData, error)
- func (sp *Client) GetResult(ctx context.Context, ID, name string) (*tapi.FileData, error)
- func (sp *Client) GetStatus(ctx context.Context, ID string) (*tapi.StatusData, error)
- func (sp *Client) HookToStatus(ctx context.Context, ID string) (<-chan tapi.StatusData, func(), error)
- func (sp *Client) Upload(ctx context.Context, ...) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client comunicates with transcriber service
func (*Client) HookToStatus ¶
func (sp *Client) HookToStatus(ctx context.Context, ID string) (<-chan tapi.StatusData, func(), error)
HookToStatus to status ws
Click to show internal directories.
Click to hide internal directories.