MCPcopy Index your code
hub / github.com/coder/coder / removeAddress

Method removeAddress

enterprise/derpmesh/derpmesh.go:135–142  ·  view source on GitHub ↗

removeAddress stops meshing with a given address.

(address string)

Source from the content-addressed store, hash-verified

133
134// removeAddress stops meshing with a given address.
135func (m *Mesh) removeAddress(address string) bool {
136 cancelFunc, isActive := m.active[address]
137 if isActive {
138 cancelFunc()
139 delete(m.active, address)
140 }
141 return isActive
142}
143
144// Close ends all active meshes with the DERP server.
145func (m *Mesh) Close() error {

Callers 1

SetAddressesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected