MCPcopy Create free account
hub / github.com/Monibuca/engine / API_list_push

Method API_list_push

http.go:197–205  ·  view source on GitHub ↗
(w http.ResponseWriter, r *http.Request)

Source from the content-addressed store, hash-verified

195}
196
197func (conf *GlobalConfig) API_list_push(w http.ResponseWriter, r *http.Request) {
198 util.ReturnFetchValue(func() (result []any) {
199 Pushers.Range(func(key, value any) bool {
200 result = append(result, value)
201 return true
202 })
203 return
204 }, w, r)
205}
206
207func (conf *GlobalConfig) API_stop_push(w http.ResponseWriter, r *http.Request) {
208 q := r.URL.Query()

Callers

nothing calls this directly

Calls 2

ReturnFetchValueFunction · 0.92
RangeMethod · 0.45

Tested by

no test coverage detected