Documentation ¶ Index ¶ func GetIsAdmin(ctx context.Context) *bool func GetUserID(ctx context.Context) *int func SetIsAdmin(ctx context.Context, value bool) context.Context func SetUserID(ctx context.Context, value int) context.Context Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func GetIsAdmin ¶ added in v1.5.0 func GetIsAdmin(ctx context.Context) *bool return bool func GetUserID ¶ func GetUserID(ctx context.Context) *int func SetIsAdmin ¶ added in v1.5.0 func SetIsAdmin(ctx context.Context, value bool) context.Context returns context func SetUserID ¶ func SetUserID(ctx context.Context, value int) context.Context Types ¶ This section is empty. Source Files ¶ View all Source files session.go Click to show internal directories. Click to hide internal directories.