summaryrefslogtreecommitdiff
path: root/types.go
diff options
context:
space:
mode:
authortjpcc <tjp@ctrl-c.club>2023-10-31 11:11:53 -0600
committertjpcc <tjp@ctrl-c.club>2023-10-31 11:15:08 -0600
commit1a3ec70d3f0b7d62e570f3b85aa7e0e034a2cc7b (patch)
tree08e3f9dfc1260cb324625b6437b0254fee89e5bd /types.go
parent9d102cb910fe9687b94235da04125329cd787054 (diff)
move 'auth' to a modifier
fixes #12
Diffstat (limited to 'types.go')
-rw-r--r--types.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/types.go b/types.go
index af7f30f..76f89ac 100644
--- a/types.go
+++ b/types.go
@@ -18,9 +18,11 @@ type Modifiers struct {
ExecCmd string
ExtendedGophermap bool
AutoAtom bool
+ Auth *Auth
Titan *Auth
Templates *template.Template
+ authName string
titanName string
}
@@ -46,9 +48,6 @@ type RouteDirective struct {
// "with ..."
Modifiers Modifiers
-
- Auth *Auth
- authName string
}
type Server struct {