Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
Logger provides simple logging functionality
func NewLogger ¶
func NewLogger(writerOrLogger interface{}) *Logger
NewLogger creates a new Logger with the specified writer or logger
func (*Logger) WriteString ¶
WriteString writes a string to the logger
type Option ¶
type Option func(*Server)
Option represents a functional option for configuring the stdio transport
func WithErrorWriter ¶
WithErrorWriter sets the error output writer
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server represents a server that handles incoming requests and responses
func (*Server) ListenAndServe ¶
Click to show internal directories.
Click to hide internal directories.