MCPcopy Create free account
hub / github.com/APIParkLab/APIPark / Ping

Method Ping

gateway/admin/admin.go:19–25  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

17 return callHttp[Version](ctx, a.address, "GET", "/system/version", nil)
18}
19func (a *adminClient) Ping(ctx context.Context) error {
20 _, err := a.Version(ctx)
21 if err != nil {
22 return err
23 }
24 return err
25}

Callers

nothing calls this directly

Calls 1

VersionMethod · 0.95

Tested by

no test coverage detected