multi_threaded

package
v1.14.1 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fini

func Fini()

Fini kill all pdfium worker subprocess

func Init

func Init(config Config)

Init will prepare pdfium subprocess argument.

func NewInstance

func NewInstance() (pdfium.Pdfium, error)

NewInstance create new pdfium worker instance

Types

type Command

type Command struct {
	BinPath string
	Args    []string

	// StartTimeout is the timeout to wait for the plugin to say it
	// has started successfully.
	StartTimeout time.Duration
}

type Config

type Config struct {
	LogCallback func(string)
	Command     Command
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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