MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / GetAllSubscriptions

Method GetAllSubscriptions

sqlchain/observer/api.go:88–96  ·  view source on GitHub ↗
(rw http.ResponseWriter, r *http.Request)

Source from the content-addressed store, hash-verified

86}
87
88func (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
98func (a *explorerAPI) GetAck(rw http.ResponseWriter, r *http.Request) {
99 vars := mux.Vars(r)

Callers

nothing calls this directly

Calls 2

getAllSubscriptionsMethod · 0.80
sendResponseFunction · 0.70

Tested by

no test coverage detected