Files
gonic/server/handler/handler.go
2019-07-06 13:49:30 +01:00

24 lines
326 B
Go

package handler
import (
"html/template"
"github.com/wader/gormstore"
"github.com/sentriz/gonic/db"
)
type contextKey int
const (
contextUserKey contextKey = iota
contextSessionKey
)
type Controller struct {
DB *db.DB
SessDB *gormstore.Store
Templates map[string]*template.Template
MusicPath string
}