(rw http.ResponseWriter, req *http.Request)
| 917 | } |
| 918 | |
| 919 | func (h *Handler) serveSignerPaths(rw http.ResponseWriter, req *http.Request) { |
| 920 | defer httputil.RecoverJSON(rw, req) |
| 921 | var sr SignerPathsRequest |
| 922 | sr.fromHTTP(req) |
| 923 | |
| 924 | res, err := h.GetSignerPaths(&sr) |
| 925 | if err != nil { |
| 926 | httputil.ServeJSONError(rw, err) |
| 927 | return |
| 928 | } |
| 929 | httputil.ReturnJSON(rw, res) |
| 930 | } |
| 931 | |
| 932 | // EvalSearchInput checks if its input is JSON. If so it returns a Constraint constructed from that JSON. Otherwise |
| 933 | // it assumes the input to be a search expression. It parses the expression and returns the parsed Constraint. |
nothing calls this directly
no test coverage detected