session

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2022 License: ISC Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustUserFromContext

func MustUserFromContext(ctx context.Context) *payd.User

MustUserFromContext return user from request context. Fail on error.

func WithUser

func WithUser(ctx context.Context, user *payd.User) context.Context

WithUser store user in request context.

Types

This section is empty.

Jump to

Keyboard shortcuts

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