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

Struct scriptedDialer

tailnet/controllers_test.go:2361–2367  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2359}
2360
2361type scriptedDialer struct {
2362 attempts chan int
2363 dialFn func(context.Context, int) (tailnet.ControlProtocolClients, error)
2364
2365 mu sync.Mutex
2366 attemptN int
2367}
2368
2369func (d *scriptedDialer) Dial(ctx context.Context, _ tailnet.ResumeTokenController) (tailnet.ControlProtocolClients, error) {
2370 d.mu.Lock()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected