Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/grpc/grpc-go
/ Delete
Method
Delete
resolver/map.go:278–281 ·
view source on GitHub ↗
Delete removes the specified endpoint from the map.
(e Endpoint)
Source
from the content-addressed store, hash-verified
276
277
// Delete removes the specified endpoint from the map.
278
func
(em *EndpointMap[T]) Delete(e Endpoint) {
279
en := encodeEndpoint(e)
280
delete(em.endpoints, en)
281
}
Callers
3
TestAddressMap_Delete
Method · 0.45
TestEndpointMap_Delete
Method · 0.45
BenchmarkEndpointMap
Function · 0.45
Calls
1
encodeEndpoint
Function · 0.85
Tested by
3
TestAddressMap_Delete
Method · 0.36
TestEndpointMap_Delete
Method · 0.36
BenchmarkEndpointMap
Function · 0.36