fiberadapter

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 fiberadapter exposes a live *fiber.App 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 a *fiber.App.

func New

func New(app *fiber.App) *Source

New returns a Source backed by the given Fiber app.

func (*Source) Operations

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

Operations implements source.Source by walking Fiber's registered routes. The boolean filter drops middleware ("use") entries so only real endpoints become tools.

Jump to

Keyboard shortcuts

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