plugin

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package plugin provides functionality for managing plugins in the dehydrated-api-go application. It includes interfaces for plugin implementation, configuration structures, and plugin registry management.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PluginConfig

type PluginConfig struct {
	// Enabled determines whether the plugin should be loaded and used.
	Enabled bool `yaml:"enabled"`

	// Path specifies the location of the plugin executable or library.
	Path string `yaml:"path"`

	// Config contains plugin-specific configuration settings.
	// The structure of this map depends on the specific plugin implementation.
	Config map[string]any `yaml:"config"`
}

PluginConfig holds configuration for a plugin. It defines the basic settings needed to load and configure a plugin.

Directories

Path Synopsis
openssl
Package openssl provides a built-in plugin for analyzing SSL/TLS certificates.
Package openssl provides a built-in plugin for analyzing SSL/TLS certificates.
Package grpc provides gRPC-based plugin client implementation.
Package grpc provides gRPC-based plugin client implementation.
Package plugininterface defines the core interfaces for plugin implementations.
Package plugininterface defines the core interfaces for plugin implementations.

Jump to

Keyboard shortcuts

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