MCPcopy Create free account
hub / github.com/compozy/agh / Status

Method Status

internal/cli/client.go:1612–1618  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

1610}
1611
1612func (c *unixSocketClient) Status(ctx context.Context) (StatusRecord, error) {
1613 var response StatusRecord
1614 if err := c.doJSON(ctx, http.MethodGet, "/api/status", nil, nil, &response); err != nil {
1615 return StatusRecord{}, err
1616 }
1617 return response, nil
1618}
1619
1620func (c *unixSocketClient) Doctor(ctx context.Context, query DoctorQuery) (DoctorRecord, error) {
1621 var response DoctorRecord

Callers 2

DaemonStatusMethod · 0.95

Calls 1

doJSONMethod · 0.95

Tested by 1