momhttp

package
v1.0.27 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2026 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package momhttp is the public surface for injecting per-mcp / per-tool HTTP middleware into artel's MoM http executor from outside the module. Pair it with pkg/app.WithToolHttpMiddleware / pkg/app.WithMcpHttpMiddleware and pkg/app.New.

pkg/ importing internal/ within the same module is allowed (pkg/app already does it) — Go's internal rule only blocks importers outside the module.

Index

Constants

View Source
const (
	McpNameEmail    = artel_q.McpNameEmail
	McpNameGitlab   = artel_q.McpNameGitlab
	McpNameTelegram = artel_q.McpNameTelegram
	McpNameTrello   = artel_q.McpNameTrello
)

Re-exported MoM tool-set identifiers (the Postgres mcp_name enum labels).

Variables

This section is empty.

Functions

This section is empty.

Types

type McpName

type McpName = artel_q.McpName

Re-exported identifiers, so embedders never import internal/ directly.

McpName / McpToolName are the sqlc-generated Go types for the Postgres mcp_name / mcp_tool_name enums (migration 080). Scope a middleware to one tool with McpToolName("<mcp>.<tool>") — e.g. McpToolName("trello.create_card") — or to a whole mcp with one of the McpName* constants.

type McpToolName

type McpToolName = artel_q.McpToolName

Re-exported identifiers, so embedders never import internal/ directly.

McpName / McpToolName are the sqlc-generated Go types for the Postgres mcp_name / mcp_tool_name enums (migration 080). Scope a middleware to one tool with McpToolName("<mcp>.<tool>") — e.g. McpToolName("trello.create_card") — or to a whole mcp with one of the McpName* constants.

type Middleware

type Middleware = executors.HttpMiddleware

Re-exported identifiers, so embedders never import internal/ directly.

McpName / McpToolName are the sqlc-generated Go types for the Postgres mcp_name / mcp_tool_name enums (migration 080). Scope a middleware to one tool with McpToolName("<mcp>.<tool>") — e.g. McpToolName("trello.create_card") — or to a whole mcp with one of the McpName* constants.

type ToolIdent

type ToolIdent = executors.ToolIdent

Re-exported identifiers, so embedders never import internal/ directly.

McpName / McpToolName are the sqlc-generated Go types for the Postgres mcp_name / mcp_tool_name enums (migration 080). Scope a middleware to one tool with McpToolName("<mcp>.<tool>") — e.g. McpToolName("trello.create_card") — or to a whole mcp with one of the McpName* constants.

Jump to

Keyboard shortcuts

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