convertor

package
v0.0.0-...-f171045 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

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

func NewRepository

func NewRepository(settingRepository setting.RepositoryContract) *Repository

func (Repository) GetPathFfmpeg

func (r Repository) GetPathFfmpeg() (string, error)

func (Repository) GetPathFfprobe

func (r Repository) GetPathFfprobe() (string, error)

func (Repository) SavePathFfmpeg

func (r Repository) SavePathFfmpeg(path string) (setting.Setting, error)

func (Repository) SavePathFfprobe

func (r Repository) SavePathFfprobe(path string) (setting.Setting, error)

type RepositoryContract

type RepositoryContract interface {
	GetPathFfmpeg() (string, error)
	SavePathFfmpeg(code string) (setting.Setting, error)
	GetPathFfprobe() (string, error)
	SavePathFfprobe(code string) (setting.Setting, error)
}

type View

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

func NewView

func NewView(app kernel.AppContract) *View

func (View) Main

func (v View) Main(formConversion view.ConversionContract)

func (View) SelectFFPath

func (v View) SelectFFPath(
	currentPathFfmpeg string,
	currentPathFfprobe string,
	save func(ffmpegPath string, ffprobePath string) error,
	cancel func(),
	donwloadFFmpeg func(progressBar *widget.ProgressBar, progressMessage *canvas.Text) error,
)

type ViewContract

type ViewContract interface {
	Main(
		formConversion view.ConversionContract,
	)
	SelectFFPath(
		ffmpegPath string,
		ffprobePath string,
		save func(ffmpegPath string, ffprobePath string) error,
		cancel func(),
		donwloadFFmpeg func(progressBar *widget.ProgressBar, progressMessage *canvas.Text) error,
	)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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