We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<html> <head> <title>Gost v3 代理链接创建</title> <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> </head> <body> <h1>Gost v3 代理链接创建</h1> <label for="api-url">API 链接:</label> <input type="text" id="api-url" value="https://api.example.com/create-proxy-link"><br> <label for="local-username">本地账号:</label> <input type="text" id="local-username"><br> <label for="local-password">本地密码:</label> <input type="password" id="local-password"><br> <label for="local-port">本地端口:</label> <input type="number" id="local-port"><br> <label for="remote-username">远程账号:</label> <input type="text" id="remote-username"><br> <label for="remote-password">远程密码:</label> <input type="password" id="remote-password"><br> <label for="remote-port">远程端口:</label> <input type="number" id="remote-port"><br> <button onclick="createProxyLink()">创建代理链接</button> <button onclick="viewAllRules()">查看所有规则</button> <script> var apiUrlInput = document.getElementById("api-url"); function createProxyLink() { var localUsername = document.getElementById("local-username").value; var localPassword = document.getElementById("local-password").value; var localPort = document.getElementById("local-port").value; var remoteUsername = document.getElementById("remote-username").value; var remotePassword = document.getElementById("remote-password").value; var remotePort = document.getElementById("remote-port").value; var protocol = "socks5"; // 获取输入的 API 链接 var apiUrl = apiUrlInput.value; // 构建请求的数据对象 var requestData = { localUsername: localUsername, localPassword: localPassword, localPort: localPort, remoteUsername: remoteUsername, remotePassword: remotePassword, remotePort: remotePort, protocol: protocol }; // 发送 POST 请求创建代理链接 $.post(apiUrl, requestData, function(response) { // 处理 API 响应 console.log(response); // 在这里可以根据 API 的返回结果进行相应的操作 }); } function viewAllRules() { // 获取输入的 API 链接 var apiUrl = apiUrlInput.value + "/all-rules"; // 发送 GET 请求获取所有规则 $.get(apiUrl, function(response) { // 处理 API 响应 console.log(response); // 在这里可以显示所有规则或进行其他操作 }); } </script> </body> </html> ````
The text was updated successfully, but these errors were encountered:
docker run -d --net=host --restart=always gogost/gost -api="user:pass@:18080"
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: