context

package
v0.0.0-...-f7bd8c3 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2023 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetUserID

func SetUserID(ctx context.Context, id string) context.Context

SetUserID returns a new context with the specified user id value set.

func UserID

func UserID(ctx context.Context) string

UserID returns the authenticated user id.

Types

This section is empty.

Jump to

Keyboard shortcuts

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