aboutsummaryrefslogtreecommitdiff
path: root/src/server/router.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/router.go')
-rw-r--r--src/server/router.go12
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