context

package
v0.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 8, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SessionUser

func SessionUser(ctx context.Context) user.Model

SessionUser returns current user model from context.

func WithSessionUser

func WithSessionUser(ctx context.Context, userObj user.Model) context.Context

WithSessionUser puts the user model into context.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL