summaryrefslogtreecommitdiff
path: root/pkg/server/status.go
blob: bc725a7d86a1374a1fdc359be7e60f287e8b6173 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package server

import (
	"tunnel/pkg/config"
)

func init() {
	setHandler(status, "status")
}

func status(r *request) {
	r.expect()

	r.Printf("since %s", r.c.s.since.Format(config.TimeFormat))
}