single_threaded

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2023 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(config Config) pdfium.Pool

Init will return a single-threaded pool. Every pool will keep track of its own instances and the documents that belong to those instances. When you close it, it will clean up the resources of that pool. Underwater every pool/instance uses the same mutex to ensure thread safety in PDFium across pools/instances/documents.

Types

type Config added in v0.8.0

type Config struct {
	LibraryConfig *pdfium.LibraryConfig
}

Jump to

Keyboard shortcuts

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