From b171b43fd8040de3997961e223fda8209fc256ee Mon Sep 17 00:00:00 2001 From: Emile Date: Wed, 25 Sep 2019 17:39:07 +0200 Subject: implemented the printAll endpoint --- server.go | 1 + 1 file changed, 1 insertion(+) (limited to 'server.go') diff --git a/server.go b/server.go index 928ca83..86df6a5 100644 --- a/server.go +++ b/server.go @@ -31,6 +31,7 @@ func main() { r.HandleFunc("/", indexHandler) r.HandleFunc("/dumpall", dumpallHandler) + r.HandleFunc("/all", printAllHandler) r.HandleFunc("/{station}/{name}", getHandler) // Start the http server using the port provided using command line arguments -- cgit 1.4.1