pluginhelper

package module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2023 License: MIT Imports: 3 Imported by: 0

README

pluginhelper

Go Reference

Helpers for Go's plugin package.

Documentation

Overview

Package pluginhelper contains plugin package helpers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Value

func Value[T any](p *plugin.Plugin, symName string) (T, error)

Value returns value of type 'T' of a symbol named 'symName' in plugin 'p'.

func ValuePath

func ValuePath[T any](path, symName string) (T, error)

ValuePath returns value of type 'T' of a symbol named 'symName' in plugin with 'path'.

Types

This section is empty.

Jump to

Keyboard shortcuts

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