Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MyImplementer ¶
type MyImplementer struct {
*server.DefaultImplementer
}
MyImplementer implements the MCP protocol methods. Embed DefaultImplementer for common behavior.
func (*MyImplementer) Implements ¶
func (i *MyImplementer) Implements(method string) bool
Implements indicates which methods are supported.
func (*MyImplementer) ListResources ¶
func (i *MyImplementer) ListResources( ctx context.Context, req *schema.ListResourcesRequest, ) (*schema.ListResourcesResult, *jsonrpc.Error)
ListResources lists available resources.
Click to show internal directories.
Click to hide internal directories.