blob: 52ded7aaa631c7039908d39bccfaf6ce51e831ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
package app
import (
"code.crute.us/mcrute/golib/echo/controller"
"code.crute.us/mcrute/ssh-proxy/app/models"
)
type PageContext struct {
PageName string
Year int
RenderTime string
Flags *controller.FeatureFlags
Context *controller.PageContext
CSRFToken string
AuthenticatedUser *models.User
Model any // For pages with one model
Models any // For pages with a collection of models
}
|