(r *http.Request)
| 73 | } |
| 74 | |
| 75 | func (api *API) GetHandleForRequest(r *http.Request) (*graph.Handle, error) { |
| 76 | return cayleyhttp.HandleForRequest(api.handle, "single", nil, r) |
| 77 | } |
| 78 | |
| 79 | func (api *API) RWOnly(handler httprouter.Handle) httprouter.Handle { |
| 80 | if api.config.ReadOnly { |
no outgoing calls
no test coverage detected