Documentation
¶
Index ¶
- func Assets(ctx context.Context) (any, bool)
- func CSRFToken(ctx context.Context) (string, bool)
- func Flash(ctx context.Context) (*flash.Message, bool)
- func IsHTMX(ctx context.Context) bool
- func ReturnTo(ctx context.Context) (string, bool)
- func ReturnToOrDefault(ctx context.Context, def string) string
- func Roles(ctx context.Context) (roles.Roles, bool)
- func SessionID(ctx context.Context) (uuid.UUID, bool)
- func UserID(ctx context.Context) (uuid.UUID, bool)
- func WithAssets(ctx context.Context, a any) context.Context
- func WithCSRF(ctx context.Context, token string) context.Context
- func WithFlash(ctx context.Context, f *flash.Message) context.Context
- func WithHTMX(ctx context.Context) context.Context
- func WithReturnTo(ctx context.Context, path string) context.Context
- func WithRoles(ctx context.Context, roles roles.Roles) context.Context
- func WithSessionID(ctx context.Context, sessionID uuid.UUID) context.Context
- func WithUserID(ctx context.Context, id uuid.UUID) context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.