(w http.ResponseWriter, r *http.Request)
| 195 | } |
| 196 | |
| 197 | func (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 | |
| 207 | func (conf *GlobalConfig) API_stop_push(w http.ResponseWriter, r *http.Request) { |
| 208 | q := r.URL.Query() |
nothing calls this directly
no test coverage detected