service

package
v0.0.0-...-db9aab1 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NoAdapterFoundErr error = errors.New("no adapter found for conversion")

Functions

This section is empty.

Types

type Converter

type Converter interface {
	Convert(ctx context.Context, srcPath, dstPath, dstExt string) error
	Supports(ctx context.Context, srcExt, dstExt string) bool
}

type ConverterService

type ConverterService interface {
	Convert(ctx context.Context, srcPath, dstPath, srcExt, dstExt string) error
}

func NewConverterService

func NewConverterService(adapters []Converter) ConverterService

Jump to

Keyboard shortcuts

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