Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GongShichen/LuminaCode
/ State
Method
State
mcp/client.go:82–86 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
80
}
81
82
func
(c *McpClient) State() ConnectionState {
83
c.mu.Lock()
84
defer
c.mu.Unlock()
85
return
c.state
86
}
87
88
func
(c *McpClient) Tools() []
map
[string]any {
89
c.mu.Lock()
Callers
3
TestMCPHTTPClientLifecycleDiscoveryCallAndResource
Function · 0.95
pingLoop
Method · 0.95
Execute
Method · 0.80
Calls
no outgoing calls
Tested by
1
TestMCPHTTPClientLifecycleDiscoveryCallAndResource
Function · 0.76