echoadapter

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package echoadapter exposes a live *echo.Echo as an api2mcp Source.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Source

type Source struct {
	// contains filtered or unexported fields
}

Source adapts an *echo.Echo.

func New

func New(e *echo.Echo) *Source

New returns a Source backed by the given Echo instance.

func (*Source) Operations

func (s *Source) Operations(_ context.Context) ([]ir.Operation, error)

Operations implements source.Source by walking Echo's registered routes.

Jump to

Keyboard shortcuts

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