unoconvert

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ContextTimeout = DefaultContextTimeout
)
View Source
var (
	DefaultContextTimeout = 0 * time.Minute
)

Functions

func Run

func Run(infile string, outfile string, opts ...string) error

func RunContext

func RunContext(ctx context.Context, infile string, outfile string, opts ...string) error

func SetContextTimeout

func SetContextTimeout(timeout time.Duration)

func SetExecutable

func SetExecutable(executable string)

func SetInterface

func SetInterface(interf string)

func SetPort

func SetPort(port string)

Types

type Unoconvert

type Unoconvert struct {
	Interface  string
	Port       string
	Executable string
}

func (*Unoconvert) Run

func (u *Unoconvert) Run(infile string, outfile string, opts ...string) error

func (*Unoconvert) RunContext

func (u *Unoconvert) RunContext(ctx context.Context, infile string, outfile string, opts ...string) error

func (*Unoconvert) SetContextTimeout

func (u *Unoconvert) SetContextTimeout(timeout time.Duration)

func (*Unoconvert) SetExecutable

func (u *Unoconvert) SetExecutable(executable string)

func (*Unoconvert) SetInterface

func (u *Unoconvert) SetInterface(interf string)

func (*Unoconvert) SetPort

func (u *Unoconvert) SetPort(port string)

Jump to

Keyboard shortcuts

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