Documentation
¶
Overview ¶
Package dunemcptest provides a fake Dune MCP server for command tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Fake ¶
type Fake struct {
// Results maps a tool name to the JSON result it returns.
Results map[string]string
// Images maps a tool name to the images it returns with its result.
Images map[string][][]byte
// Errors maps a tool name to the error it returns.
Errors map[string]error
Calls []Call
}
Fake is a dunemcp.Caller that returns canned tool results and records calls.
Click to show internal directories.
Click to hide internal directories.