Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/modelcontextprotocol/go-sdk
/ getConn
Method
getConn
mcp/shared.go:81–81 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
79
sendingMethodHandler() MethodHandler
80
receivingMethodHandler() MethodHandler
81
getConn() *jsonrpc2.Connection
82
}
83
84
// Middleware is a function from [MethodHandler] to [MethodHandler].
Callers
1
defaultSendingMethodHandler
Function · 0.65
Implementers
2
ServerSession
mcp/server.go
ClientSession
mcp/client.go
Calls
no outgoing calls
Tested by
no test coverage detected