diff options
| author | Alexander Kavon <hawk@alexkavon.com> | 2023-11-28 00:45:37 -0500 |
|---|---|---|
| committer | Alexander Kavon <hawk@alexkavon.com> | 2023-11-28 00:45:37 -0500 |
| commit | 7d7059d53891bc1abb284d9b288505a5d406b307 (patch) | |
| tree | f3ae7435a0a67ce1e5c939966738fea01bb9644e /src/server/router.go | |
| parent | d7d2b376405d91a201b8b830160458c5dd6df4a9 (diff) | |
build ui and render templates, build routes
Diffstat (limited to 'src/server/router.go')
| -rw-r--r-- | src/server/router.go | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/server/router.go b/src/server/router.go index 248a1d3..c8ca0fa 100644 --- a/src/server/router.go +++ b/src/server/router.go @@ -11,11 +11,13 @@ import ( type HandlerFunc func(s *Server) http.HandlerFunc type Route struct { - Name string - Method string - Pattern string - AuthRequired bool - HandlerFunc HandlerFunc + Name string + Method string + Path string + AuthRequired bool + HandlerFunc HandlerFunc + UiPageName string + UiTemplateName string } type Routes []Route |
