Help us shape the future of Go! Take the 2026 Go Developer Survey

mcpapi

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 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(context.Context, string) (reviewservice.Resolution, error)
}

Jump to

Keyboard shortcuts

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