Add web session management

This commit is contained in:
Matt Baer
2018-10-16 20:30:38 -04:00
parent af601d7b0c
commit 62abc11142
5 changed files with 196 additions and 1 deletions

2
app.go
View File

@@ -60,6 +60,8 @@ func Serve() {
}
// Initialize modules
app.sessionStore = initSession(app)
r := mux.NewRouter()
handler := NewHandler(app.sessionStore)