added base code

This commit is contained in:
2024-08-17 10:27:36 +02:00
parent 0078e38e2f
commit f5faf61006
8 changed files with 172 additions and 0 deletions

7
routes.go Normal file
View File

@@ -0,0 +1,7 @@
package main
import "github.com/gorilla/mux"
func (s *WebServer) Routes(r *mux.Router) {
r.HandleFunc("/version", handleVersion).Methods("GET")
}