MCPcopy Create free account
hub / github.com/codehamr/codehamr / pingBackend

Function pingBackend

internal/tui/model.go:1266–1272  ·  view source on GitHub ↗

pingBackend issues a short GET to baseURL/v1/models via cloud.Reachable. Any HTTP response counts as reachable; transport errors and timeouts mean disconnected. The result carries the URL it was issued against so Update can drop late results arriving after a /models switch.

(baseURL string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

InitMethod · 0.85
confirmActiveMethod · 0.85

Calls 1

ReachableFunction · 0.92

Tested by

no test coverage detected