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

import (
	"tunnel/pkg/config"
)

func status(r *request) {
	r.Printf("since %s", r.c.s.since.Format(config.TimeFormat))
}

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