converter

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2023 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConvertOpt added in v0.2.0

type ConvertOpt func(opts *ConvertOpts) error

func WithDriver added in v0.2.0

func WithDriver(typ string, config map[string]string) ConvertOpt

func WithPlatform added in v0.2.0

func WithPlatform(platformMC platforms.MatchComparer) ConvertOpt

func WithProvider added in v0.2.0

func WithProvider(provider content.Provider) ConvertOpt

type ConvertOpts added in v0.2.0

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

type Converter

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

func New added in v0.2.0

func New(opts ...ConvertOpt) (*Converter, error)

func (*Converter) Convert added in v0.2.0

func (cvt *Converter) Convert(ctx context.Context, source, target string) error

Jump to

Keyboard shortcuts

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