mirror of
https://github.com/cloudflare/gortr.git
synced 2024-05-19 06:50:10 +00:00
fix build flags
This commit is contained in:
@@ -19,10 +19,6 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
version = ""
|
||||
buildinfos = ""
|
||||
AppVersion = "RTRdump " + version + " " + buildinfos
|
||||
|
||||
ENV_SSH_PASSWORD = "RTR_SSH_PASSWORD"
|
||||
ENV_SSH_KEY = "RTR_SSH_KEY"
|
||||
|
||||
@@ -32,6 +28,10 @@ const (
|
||||
)
|
||||
|
||||
var (
|
||||
version = ""
|
||||
buildinfos = ""
|
||||
AppVersion = "RTRdump " + version + " " + buildinfos
|
||||
|
||||
Connect = flag.String("connect", "127.0.0.1:8282", "Connection address")
|
||||
OutFile = flag.String("file", "output.json", "Output file")
|
||||
|
||||
|
||||
@@ -25,10 +25,6 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
version = ""
|
||||
buildinfos = ""
|
||||
AppVersion = "RTRmon " + version + " " + buildinfos
|
||||
|
||||
ENV_SSH_PASSWORD = "RTR_SSH_PASSWORD"
|
||||
ENV_SSH_KEY = "RTR_SSH_KEY"
|
||||
|
||||
@@ -38,6 +34,10 @@ const (
|
||||
)
|
||||
|
||||
var (
|
||||
version = ""
|
||||
buildinfos = ""
|
||||
AppVersion = "RTRmon " + version + " " + buildinfos
|
||||
|
||||
OneOff = flag.Bool("oneoff", false, "dump as json and exits")
|
||||
Addr = flag.String("addr", ":8080", "Server address")
|
||||
MetricsPath = flag.String("metrics", "/metrics", "Metrics path")
|
||||
|
||||
Reference in New Issue
Block a user