Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/modelcontextprotocol/go-sdk
/ Close
Method
Close
mcp/shared.go:584–584 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
582
type
keepaliveSession
interface
{
583
Ping(ctx context.Context, params *PingParams) error
584
Close() error
585
}
586
587
// startKeepalive starts the keepalive mechanism for a session.
Callers
1
startKeepalive
Function · 0.65
Implementers
2
ServerSession
mcp/server.go
ClientSession
mcp/client.go
Calls
no outgoing calls
Tested by
no test coverage detected