stdio

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2024 License: MIT Imports: 9 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTransport

func NewTransport(options ...StdioTransportOption) server.Transport

Types

type StdioTransportNewServerOption

type StdioTransportNewServerOption struct {
	NewServer func(
		capabilities *mcp.ServerCapabilities,
		serverInfo *mcp.Implementation,
		options ...server.ServerOption,
	) server.Server
}

type StdioTransportOption

type StdioTransportOption interface {
	// contains filtered or unexported methods
}

func WithNewServerFunc

func WithNewServerFunc(newServer func(
	capabilities *mcp.ServerCapabilities,
	serverInfo *mcp.Implementation,
	options ...server.ServerOption,
) server.Server) StdioTransportOption

func WithOut

func WithOut(out io.Writer) StdioTransportOption

Jump to

Keyboard shortcuts

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