pluginloader

package
v0.0.0-...-b25413d Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Enabled = true

Enabled toggles plugin loading. It is true by default.

View Source
var PublicKeyPath string

PublicKeyPath specifies the file containing the ed25519 public key used to verify plugin signatures. When empty, loading will fail.

Functions

func DefaultDir

func DefaultDir() string

DefaultDir returns the path where validator plugins are stored for the current OS.

func LoadAll

func LoadAll(dir string, logger *zap.SugaredLogger) error

LoadAll loads all plugins from dir. If dir is empty, DefaultDir() is used. It returns an error if loading any plugin fails.

Types

This section is empty.

Jump to

Keyboard shortcuts

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