Go to file
giaogiao 30027df01c 增加示例 2023-08-07 11:58:53 +08:00
README.md 增加示例 2023-08-07 11:58:53 +08:00
go.mod 完成第二版本 批量接受 2023-08-07 11:55:17 +08:00
go.sum 第一次提交 2023-03-20 18:19:02 +08:00
main.go 完成第二版本 批量接受 2023-08-07 11:55:17 +08:00

README.md

## API URL

http://127.0.0.1:1323/textserver

## RequestData

{
	"Urls": [{
		"url": "https://www.github.com/"
	}, {
		"url": "http://127.0.0.1"
	}, {
		"url": "https://www.github.com/"
	}]
}

ReturnData

{
    "code": 200,
    "message": "",
    "data": {
        "items": [
            {
                "code": 200,
                "time": 36,
                "url": "http://127.0.0.1"
            },
            {
                "code": 200,
                "time": 991,
                "url": "https://www.github.com/"
            },
            {
                "code": 200,
                "time": 994,
                "url": "https://www.github.com/"
            }
        ]
    }
}