(w http.ResponseWriter, r *http.Request)
| 185 | } |
| 186 | |
| 187 | func (conf *GlobalConfig) API_list_pull(w http.ResponseWriter, r *http.Request) { |
| 188 | util.ReturnFetchValue(func() (result []any) { |
| 189 | Pullers.Range(func(key, value any) bool { |
| 190 | result = append(result, value) |
| 191 | return true |
| 192 | }) |
| 193 | return |
| 194 | }, w, r) |
| 195 | } |
| 196 | |
| 197 | func (conf *GlobalConfig) API_list_push(w http.ResponseWriter, r *http.Request) { |
| 198 | util.ReturnFetchValue(func() (result []any) { |
nothing calls this directly
no test coverage detected