MCPcopy Index your code
hub / github.com/perkeep/perkeep / fromHTTP

Method fromHTTP

pkg/search/handler.go:390–393  ·  view source on GitHub ↗

fromHTTP panics with an httputil value on failure

(req *http.Request)

Source from the content-addressed store, hash-verified

388
389// fromHTTP panics with an httputil value on failure
390func (r *ClaimsRequest) fromHTTP(req *http.Request) {
391 r.Permanode = httputil.MustGetBlobRef(req, "permanode")
392 r.AttrFilter = req.FormValue("attrFilter")
393}
394
395// SignerPathsRequest is a request to get a SignerPathsResponse.
396type SignerPathsRequest struct {

Callers 1

serveClaimsMethod · 0.95

Calls 1

MustGetBlobRefFunction · 0.92

Tested by

no test coverage detected