- 添加 gclient 和 gstr 依赖包用于 HTTP 客户端操作 - 实现新的 BuildRequest 函数,使用 gclient 处理普通 HTTP 请求 - 分离 WebSocket 请求处理到独立的 proxyWebSocket 函数 - 移除旧的 hasProtocol 函数和相关逻辑 - 添加完整的请求头和响应头复制机制 - 实现响应状态码和响应体的正确传递 - 简化 WebSocket 代理逻辑,使用标准反向代理处理 |
||
|---|---|---|
| autoMigrate | ||
| baseGrpc | ||
| db | ||
| excel | ||
| log | ||
| mqtt/client | ||
| pool | ||
| server | ||
| task | ||
| tcp | ||
| utils | ||
| .gitignore | ||
| LICENSE | ||
| README.md | ||
| go.mod | ||
| go.sum | ||
README.md
Copyright 2021 black1552
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.