Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
Registry implements the ToolRegistry interface
func (*Registry) Get ¶
func (r *Registry) Get(name string) (interfaces.Tool, bool)
Get returns a tool by name
func (*Registry) List ¶
func (r *Registry) List() []interfaces.Tool
List returns all registered tools
func (*Registry) Register ¶
func (r *Registry) Register(tool interfaces.Tool)
Register registers a tool with the registry
Click to show internal directories.
Click to hide internal directories.