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
Click to show internal directories.
Click to hide internal directories.