MCPcopy Create free account
hub / github.com/InferCore/InferCore / Health

Method Health

internal/server/server_test.go:952–954  ·  view source on GitHub ↗
(context.Context)

Source from the content-addressed store, hash-verified

950}
951
952func (a *alwaysUnhealthyAdapter) Health(context.Context) error {
953 return fmt.Errorf("unhealthy")
954}
955
956func (a *alwaysUnhealthyAdapter) Metadata() types.BackendMetadata {
957 return types.BackendMetadata{Name: a.name, Type: "mock"}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected