registry

package
v0.19.2 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCache

func GetCache() *sync.Map

GetCache returns the shared cache instance

func GetLogger

func GetLogger() *logrus.Logger

GetLogger returns the shared logger instance

func GetTool

func GetTool(name string) (tools.Tool, bool)

GetTool retrieves a tool by name, returns false if disabled

func GetTools

func GetTools() map[string]tools.Tool

GetTools returns all registered tools, excluding disabled ones

func Init

func Init(l *logrus.Logger)

Init initialises the registry and shared resources

func Register

func Register(tool tools.Tool)

Register adds a tool implementation to the registry

Types

This section is empty.

Jump to

Keyboard shortcuts

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