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

Method Close

coderd/tailnet.go:610–614  ·  view source on GitHub ↗

Close the DERP client

()

Source from the content-addressed store, hash-verified

608
609// Close the DERP client
610func (a *pollingDERPClient) Close() error {
611 a.cancel()
612 <-a.loopDone
613 return nil
614}
615
616func (a *pollingDERPClient) Recv() (*tailcfg.DERPMap, error) {
617 select {

Callers

nothing calls this directly

Calls 1

cancelMethod · 0.45

Tested by

no test coverage detected