MCPcopy Create free account
hub / github.com/coder/coder / ServeHTTPDebug

Method ServeHTTPDebug

tailnet/coordinator.go:46–46  ·  view source on GitHub ↗

ServeHTTPDebug serves a debug webpage that shows the internal state of the coordinator.

(w http.ResponseWriter, r *http.Request)

Source from the content-addressed store, hash-verified

44 // ServeHTTPDebug serves a debug webpage that shows the internal state of
45 // the coordinator.
46 ServeHTTPDebug(w http.ResponseWriter, r *http.Request)
47 // Node returns a node by peer ID, if known to the coordinator. Returns nil if unknown.
48 Node(id uuid.UUID) *Node
49 Close() error

Callers 1

Implementers 5

coordinatortailnet/coordinator.go
FakeCoordinatortailnet/tailnettest/tailnettest.go
MockCoordinatortailnet/tailnettest/coordinatormock.go
MockCoordinatorMockRecordertailnet/tailnettest/coordinatormock.go
pgCoordenterprise/tailnet/pgcoord.go

Calls

no outgoing calls

Tested by

no test coverage detected