Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/0xUnixIO/pulse
/ evictClient
Method
evictClient
internal/serverapi/api.go:811–813 ·
view source on GitHub ↗
(nodeID string)
Source
from the content-addressed store, hash-verified
809
}
810
811
func
(a *API) evictClient(nodeID string) {
812
a.clientCache.Delete(nodeID)
813
}
814
815
// EvictClient 导出给外部调用(如 node-register 接口更新 BaseURL 后使缓存失效)。
816
func
(a *API) EvictClient(nodeID string) {
Callers
1
handleNode
Method · 0.95
Calls
1
Delete
Method · 0.65
Tested by
no test coverage detected