Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Start ¶
func Start(c *configuration.Configuration, l *zap.Logger, s *scs.SessionManager)
Types ¶
type App ¶
type App struct { Session *scs.SessionManager Configuration *configuration.Configuration Logger *zap.Logger Database *db.Database HelloWorld *hello.HelloWorld }
type Server ¶
func (*Server) AddMiddleWare ¶
func (*Server) Authenticated ¶
func (s *Server) Authenticated(next http.HandlerFunc) http.HandlerFunc
Authenticated secures routes.
Click to show internal directories.
Click to hide internal directories.