Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nibalizer/tincstat
Microservice that provides tinc status in json
https://github.com/nibalizer/tincstat
Last synced: 2 months ago
JSON representation
Microservice that provides tinc status in json
- Host: GitHub
- URL: https://github.com/nibalizer/tincstat
- Owner: nibalizer
- License: mit
- Created: 2015-08-17T08:07:04.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-08-19T18:16:36.000Z (over 9 years ago)
- Last Synced: 2024-10-03T09:55:46.644Z (3 months ago)
- Language: Go
- Homepage: http://www.tinc-vpn.org/
- Size: 133 KB
- Stars: 18
- Watchers: 2
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tinc Status Server
## API Usage
### Uptime
Get some basics of the tinc daemon, must be run as the user of tinc
Resource: /tincstat
Method: GET#### Curl Example
```
curl -i http://127.0.0.1:9000/tincstat
```Response
```
HTTP/1.1 200 OK
Content-Type: application/json
Date: Tue, 17 Dec 2013 00:57:36 GMT
Content-Length: 111{
"total_bytes_in": 115324,
"total_bytes_out": 67990,
"connections": [
{
"name": "some_random_node",
"ip": "192.0.2.15",
"port": 2003
}
]
}```