MCPcopy Create free account
hub / github.com/asternic/wuzapi / NewStdioServer

Function NewStdioServer

stdio.go:118–124  ·  view source on GitHub ↗

NewStdioServer creates a new stdio server instance

(s *server)

Source from the content-addressed store, hash-verified

116}
117
118// NewStdioServer creates a new stdio server instance
119func NewStdioServer(s *server) *stdioServer {
120 return &stdioServer{
121 server: s,
122 stdin: os.Stdin,
123 stdout: os.Stdout,
124 }
125}
126
127// newStdioServerWithIO creates a stdio server with custom IO streams (for testing)

Callers 1

startStdioModeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected