Documentation
¶
Index ¶
- func GetParam(ctx context.Context, name string) (string, bool)
- func GetParamI32(ctx context.Context, name string) (int32, bool)
- func GetUser(ctx context.Context) *db.User
- func IsLoggedIn(ctx context.Context) bool
- func NewUiContext(req *http.Request) context.Context
- func RenderFile(filename string, hash string) (string, error)
- func RenderFileComponent(filename string, hash string) templ.Component
- type UiContext
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsLoggedIn ¶
func RenderFile ¶
RenderFile renders a file based on its extension
Types ¶
Click to show internal directories.
Click to hide internal directories.