rrda

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

commit be9a1c4528fe7fbd9151e6824a2125c8277925f1
parent 2809271f95d4a32da37e4541e524acfa3242eabe
Author: Frederic Cambus <fred@statdns.com>
Date:   Mon, 21 Nov 2022 11:34:33 +0100

Restore and refactor the "Listening on" message display.

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

diff --git a/rrda.go b/rrda.go @@ -192,7 +192,6 @@ func main() { r.Get("/{server}/x/{ip}", ptr) r.Get("/{server}/{domain}/{querytype}", query) + fmt.Print("Listening on: http://", address + "\n") log.Fatal(http.ListenAndServe(address, r)) - - fmt.Println("Listening on:", address) }