Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Base ¶
type Base struct {
AppName string
Domain string
Title string
Context echo.Context
ToURL func(name string, params ...any) string
Path string
URL string
Component templ.Component
Data any
Form any
IsHome bool
IsAuth bool
IsAdmin bool
StatusCode int
CSRF string
Headers map[string]string
RequestID string
HTMX struct {
Request htmx.Request
Response *htmx.Response
}
Cache struct {
Enabled bool
Expiration time.Duration
Tags []string
}
IsIosDevice bool
}
Base captures reusable web-page fields and behavior that are app-agnostic.
func (Base) GetMessages ¶
GetMessages gets all flash messages for a given type.
Click to show internal directories.
Click to hide internal directories.