Skip to content

Commit 8512c9f

Browse files
committed
chore: remove support fiber
Signed-off-by: Bo-Yi Wu <[email protected]>
1 parent 434871d commit 8512c9f

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

gofight.go

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -392,16 +392,3 @@ func (rc *RequestConfig) Run(r http.Handler, response ResponseFunc) {
392392
r.ServeHTTP(w, req)
393393
response(w, req)
394394
}
395-
396-
// // RunX is introduced to support FiberEngine
397-
// func (rc *RequestConfig) RunX(app *fiber.App, response ResponseFunc) {
398-
// req, w := rc.initTest()
399-
// resp, err1 := app.Test(req)
400-
// w.Code = resp.StatusCode
401-
// w.Result().Header = resp.Header.Clone()
402-
// body, _ := ioutil.ReadAll(resp.Body)
403-
// w.Body.Write(body)
404-
// if err1 == nil {
405-
// response(w, req)
406-
// }
407-
// }

0 commit comments

Comments
 (0)