Documentation ¶
Index ¶
- Variables
- func Run(infile string, outfile string, opts ...string) error
- func RunContext(ctx context.Context, infile string, outfile string, opts ...string) error
- func SetContextTimeout(timeout time.Duration)
- func SetExecutable(executable string)
- func SetInterface(interf string)
- func SetPort(port string)
- type Unoconvert
- func (u *Unoconvert) Run(infile string, outfile string, opts ...string) error
- func (u *Unoconvert) RunContext(ctx context.Context, infile string, outfile string, opts ...string) error
- func (u *Unoconvert) SetContextTimeout(timeout time.Duration)
- func (u *Unoconvert) SetExecutable(executable string)
- func (u *Unoconvert) SetInterface(interf string)
- func (u *Unoconvert) SetPort(port string)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ContextTimeout = DefaultContextTimeout
)
View Source
var (
DefaultContextTimeout = 0 * time.Minute
)
Functions ¶
func RunContext ¶
func SetContextTimeout ¶
func SetExecutable ¶
func SetExecutable(executable string)
func SetInterface ¶
func SetInterface(interf string)
Types ¶
type Unoconvert ¶
func (*Unoconvert) Run ¶
func (u *Unoconvert) Run(infile string, outfile string, opts ...string) error
func (*Unoconvert) RunContext ¶
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)
Click to show internal directories.
Click to hide internal directories.