pgmicro_libs

package module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2026 License: MIT Imports: 11 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

pgmicro-go-platform-libs

pre-compiled platform-specific libraries for pgmicro go driver

Documentation

Index

Constants

View Source
const LibraryName = "libpgmicro_sdk_kit"

Variables

This section is empty.

Functions

func LoadPgmicroLibrary

func LoadPgmicroLibrary(config LoadPgmicroLibraryConfig) (handle uintptr, err error)

loads the library either from embedded artifacts or searching through LD_LIBRARY_PATH list

Types

type LibraryLoadStrategy

type LibraryLoadStrategy string
const (
	EmbeddedLibraryLoadStrategy LibraryLoadStrategy = "embedded"
	SystemLibraryLoadStrategy   LibraryLoadStrategy = "system"
	MixedLibraryLoadStrategy    LibraryLoadStrategy = "mixed"
)

type LoadPgmicroLibraryConfig

type LoadPgmicroLibraryConfig struct {
	// LoadStrategy available options
	// "embedded" or "" (default): always load library from embedded resources
	// "system": always load library from system pathes
	// "mixed": try to load library from the embedded resources and fallback to system search if no library was found
	LoadStrategy LibraryLoadStrategy
}

Jump to

Keyboard shortcuts

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