00195fac4c | ||
---|---|---|
setup | ||
README.md | ||
go.mod | ||
go.sum | ||
main.go | ||
user.json |
README.md
json conf example
{
"settings": {
"api_url": "http://127.0.0.1:50101/api/get_ip_list?num=1&country=#country&state=all&city=all&zip=all&isp=all&ip_time=1&t=1&port=#port",
"detection_time": 20,
"detection_node_url": "https://ip.shagain.club/"
},
"node": [
{
"remarks": "giao",
"country": "UK",
"port": 30000
},
{
"remarks": "giao2",
"country": "UK",
"port": 30001
}
]
}
json conf explain
{
"settings": {
"api_url": "请求切换IP api #country #port 字符串模版",
"detection_time": 检测间隔 单位秒,
"detection_node_url": "检测的url"
},
"node": [
{
"remarks": "备注",
"country": "国家代码",
"port": 端口
}
]
}