rrda

REST API allowing to perform DNS queries over HTTP
Log | Files | Refs | README | LICENSE

commit af8319ffd3236fce290f901a7207a1d48884a7b8
parent 0b1e418a00e90c82ed2dba2029690090dfeb5eaf
Author: Frederic Cambus <fred@statdns.com>
Date:   Fri,  3 Feb 2017 22:18:29 +0100

Minor code shuffling, for consistency

Diffstat:
Mrrda.go | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/rrda.go b/rrda.go @@ -177,7 +177,6 @@ func main() { } flag.Parse() - address := *host + ":" + *port; if *version { fmt.Println("RRDA 1.02") os.Exit(0) @@ -187,6 +186,8 @@ func main() { mode = "FastCGI" } + address := *host + ":" + *port + fmt.Println("Listening on (" + mode + " mode):", address) m := pat.New()