Documentation ¶ Index ¶ type Checker func LoadPlugin(path string) (Checker, error) type Registry func NewRegistry() *Registry func (r *Registry) All() []Checker func (r *Registry) Get(name string) (Checker, bool) func (r *Registry) Register(c Checker) 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) Source Files ¶ View all Source files plugin.go Click to show internal directories. Click to hide internal directories.