This commit is contained in:
laodaming 2023-07-26 17:47:02 +08:00
parent 7280c38b16
commit 06e4f1f96e

View File

@ -9,7 +9,6 @@ import (
"fusenapi/utils/auth"
"github.com/google/uuid"
"github.com/gorilla/websocket"
"github.com/zeromicro/go-zero/rest/httpx"
"net/http"
"sync"
"time"
@ -49,10 +48,6 @@ var (
CheckOrigin: func(r *http.Request) bool {
return true
},
Error: func(w http.ResponseWriter, r *http.Request, status int, reason error) {
httpx.ErrorCtx(r.Context(), w, reason)
return
},
WriteBufferPool: &buffPool,
}
//连接map池