Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRoute ¶
func NewRoute(dp RouteDataProvider) web.Route
NewRoute returns the page for this folder.
Types ¶
type DP ¶
type DP struct {
// contains filtered or unexported fields
}
DP provides the apps whose mail the page links to.
type RouteData ¶
type RouteData struct {
Apps []string
}
RouteData holds the variables the template declares with <ssr:var>.
type RouteDataProvider ¶
type RouteDataProvider interface {
Data(ctx context.Context, r *web.Request, w web.ResponseWriter, data *RouteData) error
}
RouteDataProvider is what this page's DP implements.
Click to show internal directories.
Click to hide internal directories.