call

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 29, 2024 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIClient added in v0.3.1

type APIClient interface {
	DoAPIRequest(ctx context.Context, method, url, data, etag string) (*http.Response, error)
	DoAPIRequestBytes(ctx context.Context, method, url string, data []byte, etag string) (*http.Response, error)
	DoAPIRequestReader(ctx context.Context, method, url string, data io.Reader, headers map[string]string) (*http.Response, error)
}

type Transcriber

type Transcriber struct {
	// contains filtered or unexported fields
}

func NewTranscriber

func NewTranscriber(cfg config.CallTranscriberConfig) (t *Transcriber, retErr error)

func (*Transcriber) Done

func (t *Transcriber) Done() <-chan struct{}

func (*Transcriber) Err

func (t *Transcriber) Err() error

func (*Transcriber) ReportJobFailure

func (t *Transcriber) ReportJobFailure(errMsg string) error

func (*Transcriber) ReportJobStarted

func (t *Transcriber) ReportJobStarted() error

func (*Transcriber) Start

func (t *Transcriber) Start(ctx context.Context) error

func (*Transcriber) Stop

func (t *Transcriber) Stop(ctx context.Context) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL