1
0
Fork 0
mirror of https://github.com/Luzifer/tsstatus.git synced 2024-10-18 05:14:22 +00:00
Utility to expose a status of a TeamSpeak3 server
Find a file
dependabot[bot] c650e7bfc6
Bump golang.org/x/sys from 0.0.0-20191206220618-eeba5f6aabab to 0.1.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.0.0-20191206220618-eeba5f6aabab to 0.1.0.
- [Release notes](https://github.com/golang/sys/releases)
- [Commits](https://github.com/golang/sys/commits/v0.1.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-25 04:37:01 +00:00
.gitignore Initial commit 2019-12-09 16:26:23 +01:00
Dockerfile Initial commit 2019-12-09 16:26:23 +01:00
go.mod Bump golang.org/x/sys from 0.0.0-20191206220618-eeba5f6aabab to 0.1.0 2023-02-25 04:37:01 +00:00
go.sum Bump golang.org/x/sys from 0.0.0-20191206220618-eeba5f6aabab to 0.1.0 2023-02-25 04:37:01 +00:00
LICENSE Initial commit 2019-12-09 16:26:23 +01:00
main.go Initial commit 2019-12-09 16:26:23 +01:00
README.md Add README 2019-12-09 16:46:33 +01:00
ts.go Initial commit 2019-12-09 16:26:23 +01:00

Go Report Card

Luzifer / tsstatus

tsstatus is a small utility to expose a status of a TeamSpeak3 server.

This can be used to have a monitoring for the server (HTTP 200 vs. HTTP 500) and to retrieve a list of users being present in a channel

# curl -sSf http://localhost:3000/status | jq .
{
  "info": {
    "server": {
      "clients_online": 2,
      "host_button_gfxurl": "https://knut.cc/permanent/1a79a0/luzifer_220px.svg.png",
      "host_button_url": "https://luzifer.io/",
      "max_clients": 32,
      "name": "TS @ luzifer.io",
      "port": 9987,
      "status": "online",
      "uptime": 8219,
      "version": "3.10.2 [Build: 1574239171]",
      "welcome_message": "Welcome to TeamSpeak on luzifer.io!"
    },
    "channels": [
      {
        "id": 1,
        "name": "Lobby",
        "clients": [
          {
            "away": false,
            "away_message": "",
            "nickname": "Luzifer"
          }
        ]
      },
      {
        "id": 2,
        "name": "Game I",
        "clients": null
      },
      {
        "id": 3,
        "name": "Game II",
        "clients": null
      },
      {
        "id": 4,
        "name": "Game III",
        "clients": null
      },
      {
        "id": 9,
        "name": "AFK",
        "clients": null
      }
    ]
  }
}