plugin

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2026 License: MIT Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Plugin

This directory contains the source code for a plugin that extends the functionality of the main application. The plugin is designed to be easily integrated and provides additional features that enhance user experience.

Features

  • Feature 1: Customizable add handling specific routes.
  • Feature 2: Improved performance http filter.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(opt configv1.Option, log *log.Helper) (configv1.Plugin, error)

func Register

func Register(name string, f Factory)

Types

type Factory

type Factory func(c configv1.Option, log *log.Helper) (configv1.Plugin, error)

type Registry

type Registry interface {
	// Register registers a plugin factory with the given name.
	Register(name string, factory Factory)
	// Create creates a plugin instance using the factory associated with the given name.
	Create(opt configv1.Option, log *log.Helper) (configv1.Plugin, error)
}

func NewRegistry

func NewRegistry() Registry

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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