Documentation
¶
Overview ¶
Package mcp provides Model Context Protocol server implementation for netcheck.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunServer ¶
func RunServer(registry *CheckerRegistry) error
Types ¶
type CheckFunction ¶
type CheckFunction func(input *CheckToolInput) (*CheckToolOutput, error)
type CheckToolInput ¶
type CheckToolOutput ¶
type CheckerRegistry ¶
type CheckerRegistry struct {
// contains filtered or unexported fields
}
func NewCheckerRegistry ¶
func NewCheckerRegistry() *CheckerRegistry
func (*CheckerRegistry) Register ¶
func (r *CheckerRegistry) Register(name string, fn CheckFunction)
Click to show internal directories.
Click to hide internal directories.