MCPcopy Index your code
hub / github.com/CodisLabs/codis / ApiGetJson

Function ApiGetJson

pkg/utils/rpc/api.go:168–170  ·  view source on GitHub ↗
(url string, reply interface{})

Source from the content-addressed store, hash-verified

166}
167
168func ApiGetJson(url string, reply interface{}) error {
169 return apiRequestJson(MethodGet, url, nil, reply)
170}
171
172func ApiPutJson(url string, args, reply interface{}) error {
173 return apiRequestJson(MethodPut, url, args, reply)

Callers

nothing calls this directly

Calls 1

apiRequestJsonFunction · 0.85

Tested by

no test coverage detected