(w http.ResponseWriter, r *http.Request)
| 70 | } |
| 71 | |
| 72 | func OkJSONResponseHandler(w http.ResponseWriter, r *http.Request) { |
| 73 | resp := successResponse{ |
| 74 | Status: "ok", |
| 75 | } |
| 76 | respondWithJSON(w, resp, http.StatusOK) |
| 77 | } |
| 78 | |
| 79 | func TestSocksConnection(t *testing.T) { |
| 80 | startTestServer(t, OkJSONResponseHandler) |
nothing calls this directly
no test coverage detected