contextHandler

package
v1.2.63 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2025 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSessionExpiry

func GetSessionExpiry(ctx context.Context) time.Time

func GetSessionID

func GetSessionID(ctx context.Context) string

func GetSessionIdentifier added in v1.2.52

func GetSessionIdentifier() string

func GetSessionToken

func GetSessionToken(ctx context.Context) any

func GetUserCode

func GetUserCode(ctx context.Context) string

func GetUserKey

func GetUserKey(ctx context.Context) string

func SetSessionExpiry

func SetSessionExpiry(ctx context.Context, expiry time.Time) context.Context

func SetSessionID

func SetSessionID(ctx context.Context, sessionID string) context.Context

func SetSessionToken

func SetSessionToken(ctx context.Context, token any) context.Context

func SetUserCode

func SetUserCode(ctx context.Context, userCode string) context.Context

func SetUserKey

func SetUserKey(ctx context.Context, userKey string) context.Context

Types

This section is empty.

Jump to

Keyboard shortcuts

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