single_threaded

package
v1.11.2 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: MIT Imports: 9 Imported by: 0

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

type Config struct {
	LibraryConfig *pdfium.LibraryConfig
}

Jump to

Keyboard shortcuts

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