You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
821 B

// Copyright 2018 Lars Hoogestraat
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
package middleware
import (
//AppContext contains the services, session store, templates, ...
type AppContext struct {
SessionService *session.SessionService
ArticleService models.ArticleService
CategoryService models.CategoryService
UserService models.UserService
UserInviteService models.UserInviteService
SiteService models.SiteService
FileService models.FileService
TokenService models.TokenService
Mailer models.Mailer
ConfigService *settings.Settings
Templates *template.Template