(ctx context.Context)
| 14 | return &adminClient{address: formatAddr(address)} |
| 15 | } |
| 16 | func (a *adminClient) Version(ctx context.Context) (*Version, error) { |
| 17 | return callHttp[Version](ctx, a.address, "GET", "/system/version", nil) |
| 18 | } |
| 19 | func (a *adminClient) Ping(ctx context.Context) error { |
| 20 | _, err := a.Version(ctx) |
| 21 | if err != nil { |