dyn

package
v3.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package dyn discovers and loads .so Go plugins from the filesystem, so these plugins then can register themselves with the plugger plugin mechanism.

Important

The build tag/constraint “plugger_dynamic” must have been specified when using this package; otherwise, Discover will panic as soon as it encounters any plugin to be loaded dynamically.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Discover

func Discover(path string, recursive bool)

Discover discovers plugins located at or within a specific path, optionally also (recursively) looking into subdirectories of path, and loads them, so the plugins can register themselves.

Types

This section is empty.

Jump to

Keyboard shortcuts

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