Archived
2
0

add /stats endpoint.

This commit is contained in:
m1k1o
2021-03-19 21:33:49 +01:00
parent 9771b551df
commit bbae073104
4 changed files with 55 additions and 10 deletions

View File

@ -12,4 +12,6 @@ type WebSocketHandler interface {
Start() error
Shutdown() error
Upgrade(w http.ResponseWriter, r *http.Request) error
TotalConns() uint32
IsAdmin(password string) (bool, error)
}