stdio

package
v0.0.0-...-c684d4a Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2026 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MCPRequest

type MCPRequest struct {
	JSONRPC string         `json:"jsonrpc"`
	Method  string         `json:"method"`
	Params  map[string]any `json:"params"`
	ID      int            `json:"id"`
}

type MCPResponse

type MCPResponse struct {
	JSONRPC string         `json:"jsonrpc"`
	Result  map[string]any `json:"result"`
	ID      int            `json:"id"`
}

type StdioProbe

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

func NewStdioProbe

func NewStdioProbe(exporter *export.Exporter) (*StdioProbe, error)

func (*StdioProbe) Close

func (sp *StdioProbe) Close()

func (*StdioProbe) Start

func (sp *StdioProbe) Start(ctx context.Context)

Jump to

Keyboard shortcuts

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