{
// 使用 IntelliSense 了解相关属性。
// 悬停以查看现有属性的描述。
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in library 'wmproxy'",
"cargo": {
"args": [
"test",
"--no-run",
"--lib",
"--package=wmproxy"
],
"filter": {
"name": "wmproxy",
"kind": "lib"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug executable 'wmproxy'",
"cargo": {
"args": [
"build",
"--bin=wmproxy",
"--package=wmproxy"
],
"filter": {
"name": "wmproxy",
"kind": "bin"
}
},
"args": ["--user", "aaa", "--pass", "bbb", "-b", "0.0.0.0", "--udp", "127.0.0.1", "-S", "127.0.0.1:8091", "--ts"],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "reverse",
"cargo": {
"args": [
"build",
"--bin=wmproxy",
"--package=wmproxy"
],
"filter": {
"name": "wmproxy",
"kind": "bin"
}
},
"args": ["-c", "config/reverse.yaml"],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "http",
"cargo": {
"args": [
"build",
"--bin=wmproxy",
"--package=wmproxy"
],
"filter": {
"name": "wmproxy",
"kind": "bin"
}
},
// "console": "externalTerminal",
"env": {"RUST_LOG": "trace"},
"args": ["run", "-c", "config/reverse.toml"],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "server",
"cargo": {
"args": [
"build",
"--bin=wmproxy",
"--package=wmproxy"
],
"filter": {
"name": "wmproxy",
"kind": "bin"
}
},
"args": ["-c", "config/server.yaml"],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "file-server",
"cargo": {
"args": [
"build",
"--bin=wmproxy",
"--package=wmproxy"
],
"filter": {
"name": "wmproxy",
"kind": "bin"
}
},
"args": ["file-server", "-l", ":8869", "--access-log", "logs/cctv.log trace"],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "client",
"cargo": {
"args": [
"build",
"--bin=wmproxy",
"--package=wmproxy"
],
"filter": {
"name": "wmproxy",
"kind": "bin"
}
},
"args": ["-c", "config/client.toml"],
"args1": ["-b", "0.0.0.0", "-S", "127.0.0.1:8091", "--ts", "-c", "-m", "1"],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in executable 'wmproxy'",
"cargo": {
"args": [
"test",
"--no-run",
"--bin=wmproxy",
"--package=wmproxy"
],
"filter": {
"name": "wmproxy",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
}
]
}
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
用Rust实现仿nginx,力争实现一个可替代方案,http/https代理, socks5代理, 负载均衡, 反向代理, 静态文件服务器,四层TCP/UDP转发,websocket转发, 内网穿透nat
资源推荐
资源详情
资源评论
收起资源包目录
wmproxy-main.zip (92个子文件)
wmproxy-main
Cargo.toml 1KB
.vscode
launch.json 5KB
.github
workflows
rust.yml 316B
ci.yml 2KB
src
main.rs 856B
streams
center_server.rs 12KB
trans_stream.rs 6KB
mod.rs 685B
virtual_stream.rs 4KB
center_client.rs 16KB
center_trans.rs 2KB
plugins
mod.rs 866B
static_response.rs 1KB
file_server.rs 26KB
check
mod.rs 504B
health.rs 8KB
active.rs 5KB
wmcore.rs 17KB
data
mod.rs 481B
limit_req_data.rs 4KB
lib.rs 1KB
proxy
socks5.rs 17KB
mod.rs 73B
http.rs 8KB
server.rs 2KB
trans
tcp.rs 2KB
mod.rs 475B
http.rs 6KB
flag.rs 3KB
mapping
mod.rs 451B
config.rs 2KB
prot
close.rs 2KB
kind.rs 1KB
mod.rs 1KB
flag.rs 2KB
token.rs 2KB
frame.rs 6KB
create.rs 2KB
data.rs 2KB
mapping.rs 3KB
option.rs 26KB
arg.rs 17KB
reverse
matcher.rs 5KB
upstream.rs 4KB
mod.rs 3KB
stream.rs 13KB
ws.rs 5KB
location.rs 8KB
limit_req.rs 5KB
try_paths.rs 2KB
http.rs 16KB
server.rs 5KB
common.rs 8KB
reverse_helper.rs 2KB
helper.rs 16KB
log
proxy_record.rs 2KB
mod.rs 3KB
pattern
mod.rs 35KB
parser.rs 7KB
writer
mod.rs 17B
simple.rs 793B
error.rs 5KB
control
mod.rs 450B
server.rs 8KB
config
ip_sets.rs 3KB
mod.rs 2KB
rate.rs 2KB
wrap.rs 1KB
log.rs 2KB
size.rs 4KB
duration.rs 3KB
header.rs 5KB
LICENSE 11KB
tests
server.rs 62B
mapping.rs 9KB
proxy.rs 6KB
docker
mapping_server
mapping_server.toml 611B
docker-compose.yaml 563B
mapping_client
docker-compose.yaml 462B
mapping_client.toml 700B
examples
arg.rs 1KB
proxy.rs 4KB
Dockerfile 2KB
logs
.gitkeep 0B
.gitignore 59B
.dockerignore 613B
config
client.yaml 695B
server.toml 581B
reverse.yaml 112B
server.yaml 662B
client.toml 682B
reverse.toml 3KB
共 92 条
- 1
资源评论
Java程序员-张凯
- 粉丝: 1w+
- 资源: 6649
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功