MCPcopy Index your code
hub / github.com/APIParkLab/APIPark / Admin

Function Admin

gateway/admin/admin.go:13–15  ·  view source on GitHub ↗
(address ...string)

Source from the content-addressed store, hash-verified

11}
12
13func Admin(address ...string) IApintoAdmin {
14 return &adminClient{address: formatAddr(address)}
15}
16func (a *adminClient) Version(ctx context.Context) (*Version, error) {
17 return callHttp[Version](ctx, a.address, "GET", "/system/version", nil)
18}

Callers 4

CheckClusterMethod · 0.92
pingFunction · 0.92
CreateMethod · 0.92
UpdateAddressMethod · 0.92

Calls 1

formatAddrFunction · 0.85

Tested by

no test coverage detected