scriber

package
v0.0.0-...-d60d1cb Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Input

type Input interface {
	Name() string
	OutputType() string
	Language() string
	Data() io.ReadCloser
}

type Output

type Output struct {
	Name string
	Text []byte
}

type Scriber

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

func New

func New(logger *slog.Logger, whisperCli whisperClient) *Scriber

func (*Scriber) Collect

func (s *Scriber) Collect() <-chan Output

func (*Scriber) Process

func (s *Scriber) Process(ctx context.Context, in Input) error

Jump to

Keyboard shortcuts

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