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

Struct derpSetLoop

tailnet/controllers.go:666–676  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

664}
665
666type derpSetLoop struct {
667 logger slog.Logger
668 rewriter DERPMapRewriter // optional
669 setter DERPMapSetter
670 client DERPClient
671
672 sync.Mutex
673 closed bool
674 errChan chan error
675 recvLoopDone chan struct{}
676}
677
678func (l *derpSetLoop) Close(ctx context.Context) error {
679 l.Lock()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected