plugin

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Checker

type Checker interface {
	Name() string
	Check(file types.DiffFile) ([]types.Finding, error)
}

func LoadPlugin

func LoadPlugin(path string) (Checker, error)

type Registry

type Registry struct {
	// contains filtered or unexported fields
}

func NewRegistry

func NewRegistry() *Registry

func (*Registry) All

func (r *Registry) All() []Checker

func (*Registry) Get

func (r *Registry) Get(name string) (Checker, bool)

func (*Registry) Register

func (r *Registry) Register(c Checker)

Jump to

Keyboard shortcuts

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