MCPcopy Create free account
hub / github.com/daodst/chat / PerformDeleteKeys

Method PerformDeleteKeys

keyserver/inthttp/client.go:84–99  ·  view source on GitHub ↗
(
	ctx context.Context,
	request *api.PerformDeleteKeysRequest,
	response *api.PerformDeleteKeysResponse,
)

Source from the content-addressed store, hash-verified

82}
83
84func (h *httpKeyInternalAPI) PerformDeleteKeys(
85 ctx context.Context,
86 request *api.PerformDeleteKeysRequest,
87 response *api.PerformDeleteKeysResponse,
88) {
89 span, ctx := opentracing.StartSpanFromContext(ctx, "PerformClaimKeys")
90 defer span.Finish()
91
92 apiURL := h.apiURL + PerformClaimKeysPath
93 err := httputil.PostJSON(ctx, span, h.httpClient, apiURL, request, response)
94 if err != nil {
95 response.Error = &api.KeyError{
96 Err: err.Error(),
97 }
98 }
99}
100
101func (h *httpKeyInternalAPI) PerformUploadKeys(
102 ctx context.Context,

Callers

nothing calls this directly

Calls 1

ErrorMethod · 0.45

Tested by

no test coverage detected