From 1a3ec70d3f0b7d62e570f3b85aa7e0e034a2cc7b Mon Sep 17 00:00:00 2001 From: tjpcc Date: Tue, 31 Oct 2023 11:11:53 -0600 Subject: move 'auth' to a modifier fixes #12 --- types.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'types.go') 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 { -- cgit v1.2.3