mock

package
v0.0.0-...-68b491e Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2025 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 ToolDB

type ToolDB struct {
	AddFn        func(tool tool.Tool) error
	AddInvoked   bool
	GetFn        func(name string) (tool.Tool, error)
	GetInvoked   bool
	AllFn        func() iter.Seq[tool.Tool]
	AllInvoked   bool
	ClearInvoked bool
	// contains filtered or unexported fields
}

func (*ToolDB) Add

func (t *ToolDB) Add(tool tool.Tool) error

func (*ToolDB) All

func (t *ToolDB) All() iter.Seq[tool.Tool]

func (*ToolDB) Clear

func (t *ToolDB) Clear()

func (*ToolDB) Get

func (t *ToolDB) Get(name string) (tool.Tool, error)

Jump to

Keyboard shortcuts

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