introduce basic fact collection

This commit is contained in:
williamp committed 2025-07-20 23:14:21 -04:00
1 parent 62336753c6
commit 3a47fa6706
58 files changed
+2801 -107

No files matched your search

+2
View File
@@ -3,6 +3,7 @@ package routes
import (
"net/http"
"git.dubyatp.xyz/orphanage/client/facts"
"git.dubyatp.xyz/orphanage/client/httputil"
"git.dubyatp.xyz/orphanage/client/testfunc"
)
@@ -13,4 +14,5 @@ func AddRoutes(
mux.Handle("/", http.NotFoundHandler())
mux.Handle("/helloworld", httputil.HelloWorld(nil))
mux.Handle("/testjson", testfunc.HelloWorldJSON(nil))
mux.Handle("/facts", facts.GetFacts(nil))
}