MCPcopy
hub / github.com/grpc/grpc-go / Delete

Method Delete

metadata/metadata.go:140–143  ·  view source on GitHub ↗

Delete removes the values for a given key k which is converted to lowercase before removing it from md.

(k string)

Source from the content-addressed store, hash-verified

138// Delete removes the values for a given key k which is converted to lowercase
139// before removing it from md.
140func (md MD) Delete(k string) {
141 k = strings.ToLower(k)
142 delete(md, k)
143}
144
145// Join joins any number of mds into a single MD.
146//

Callers 8

UpdateStateMethod · 0.45
UpdateClientConnStateMethod · 0.45
UpdateStateMethod · 0.45
updateEndpointsLockedMethod · 0.45
UpdateClientConnStateMethod · 0.45
TestDeleteMethod · 0.45
TestGetLabelsMethod · 0.45

Calls

no outgoing calls

Tested by 2

TestDeleteMethod · 0.36
TestGetLabelsMethod · 0.36