This commit is contained in:
2025-07-20 21:22:20 -04:00
parent 349f7fad57
commit 62336753c6
7 changed files with 165 additions and 0 deletions

16
client/routes/routes.go Normal file
View File

@@ -0,0 +1,16 @@
package routes
import (
"net/http"
"git.dubyatp.xyz/orphanage/client/httputil"
"git.dubyatp.xyz/orphanage/client/testfunc"
)
func AddRoutes(
mux *http.ServeMux,
) {
mux.Handle("/", http.NotFoundHandler())
mux.Handle("/helloworld", httputil.HelloWorld(nil))
mux.Handle("/testjson", testfunc.HelloWorldJSON(nil))
}