mcpapi

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const ProtocolVersion = "2026-07-28"

Variables

This section is empty.

Functions

func New

func New(service ReviewService, commentsEnabled bool, version string) http.Handler

func NewCatalog

func NewCatalog(catalog *reviewservice.Catalog, scopedID, version string) http.Handler

NewCatalog serves discovery globally and review tools with explicit context IDs.

Types

type ReviewService

type ReviewService interface {
	ListComments(context.Context, bool) ([]reviewservice.Comment, error)
	ResolveComment(string) (reviewservice.Resolution, error)
}

Jump to

Keyboard shortcuts

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