Documentation
¶
Overview ¶
Package dlplugin provides a thread-safe interface for loading/unloading dynamic libraries. The library symbols should be loaded manually using PluginInitializer interface.
Package dlplugin implements loading and symbol resolution of C plugins.
A plugin is a shared object (dynamic library) with exported functions and variables.
Currently plugins are only supported on Linux, FreeBSD, and macOS.
See examples in examples directory.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
Plugin is a loaded plugin.
Directories
¶
| Path | Synopsis |
|---|---|
|
examples
|
|
|
basic/iface_prog
command
|
|
|
basic/plug
command
|
|
|
basic/prog
command
|
|
|
callback/plug
command
|
|
|
callback/prog
command
|
|
|
random_values/plug
command
|
|
|
random_values/prog
command
|
Click to show internal directories.
Click to hide internal directories.