enum

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogFormatType

type LogFormatType string

LogFormatType defines the log format for the MCP server

const (
	// LogFormatText represents text log format
	LogFormatText LogFormatType = "text"
	// LogFormatJSON represents JSON log format
	LogFormatJSON LogFormatType = "json"
)

func ParseLogFormatType

func ParseLogFormatType(s string) LogFormatType

ParseLogFormatType converts a string to a LogFormatType

func (LogFormatType) String

func (t LogFormatType) String() string

String returns the string representation of the log format type

type TransportType

type TransportType string

TransportType defines the transport protocol for the MCP server

const (
	// TransportStdio represents standard input/output transport
	TransportStdio TransportType = "stdio"
	// TransportHTTP represents HTTP transport
	TransportHTTP TransportType = "http"
)

func ParseTransportType

func ParseTransportType(s string) TransportType

ParseTransportType converts a string to a TransportType

func (TransportType) String

func (t TransportType) String() string

String returns the string representation of the transport type

Jump to

Keyboard shortcuts

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