mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-15 04:24:44 +00:00
add a ping service (#372)
* add a ping service * add examples and public api file * add minecraft server ping
This commit is contained in:
36
ping/examples.json
Normal file
36
ping/examples.json
Normal file
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"ip": [{
|
||||
"title": "Ping an ip",
|
||||
"description": "Ping an ip address to get the latency",
|
||||
"run_check": false,
|
||||
"request": {
|
||||
"google.com"
|
||||
},
|
||||
"response": {
|
||||
"status": "OK"
|
||||
}
|
||||
}],
|
||||
"tcp": [{
|
||||
"title": "Dial a tcp address",
|
||||
"description": "Dial a tcp address",
|
||||
"run_check": false,
|
||||
"request": {
|
||||
"google.com:80"
|
||||
},
|
||||
"response": {
|
||||
"status": "OK"
|
||||
}
|
||||
}],
|
||||
"http": [{
|
||||
"title": "Check a url",
|
||||
"description": "Check a url endpoint",
|
||||
"run_check": false,
|
||||
"request": {
|
||||
"google.com"
|
||||
},
|
||||
"response": {
|
||||
"status": "200 OK",
|
||||
"code": 200
|
||||
}
|
||||
}]
|
||||
}
|
||||
Reference in New Issue
Block a user