Documentation ¶ Index ¶ func Fini() func Init(config Config) func NewInstance() (pdfium.Pdfium, error) type Command type Config 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 } Source Files ¶ View all Source files generated.gomulti_threaded.go Directories ¶ Show internal Expand all Path Synopsis worker Click to show internal directories. Click to hide internal directories.