myimpl

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 6, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMyImplementer

func NewMyImplementer() server.NewImplementer

NewMyImplementer returns a factory for MyImplementer.

Types

type MyImplementer

type MyImplementer struct {
	*server.DefaultImplementer
}

MyImplementer is a sample MCP implementer embedding the default Base.

func (*MyImplementer) Implements

func (i *MyImplementer) Implements(method string) bool

Implements indicates which methods this implementer supports.

func (*MyImplementer) ListResources

ListResources implements the resources/list method.

Jump to

Keyboard shortcuts

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