(rw http.ResponseWriter, r *http.Request)
| 86 | } |
| 87 | |
| 88 | func (a *explorerAPI) GetAllSubscriptions(rw http.ResponseWriter, r *http.Request) { |
| 89 | subscriptions, err := a.service.getAllSubscriptions() |
| 90 | if err != nil { |
| 91 | sendResponse(500, false, err, nil, rw) |
| 92 | return |
| 93 | } |
| 94 | |
| 95 | sendResponse(200, true, "", subscriptions, rw) |
| 96 | } |
| 97 | |
| 98 | func (a *explorerAPI) GetAck(rw http.ResponseWriter, r *http.Request) { |
| 99 | vars := mux.Vars(r) |
nothing calls this directly
no test coverage detected