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

Function WithHandler

tailnet/controllers.go:1464–1468  ·  view source on GitHub ↗
(h UpdatesHandler)

Source from the content-addressed store, hash-verified

1462}
1463
1464func WithHandler(h UpdatesHandler) TunnelAllOption {
1465 return func(t *TunnelAllWorkspaceUpdatesController) {
1466 t.updateHandler = h
1467 }
1468}
1469
1470// NewTunnelAllWorkspaceUpdatesController creates a WorkspaceUpdatesController that creates tunnels
1471// (via the TunnelSrcCoordController) to all agents received over the WorkspaceUpdates RPC. If a

Calls

no outgoing calls