mcontext

package
v2.3.38 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetOpDeviceID

func GetOpDeviceID(ctx context.Context) (int, bool)

func GetOpUserID

func GetOpUserID(ctx context.Context) (int, bool)

func GetOperationID

func GetOperationID(ctx context.Context) (string, bool)

func SetOpDeviceID

func SetOpDeviceID(ctx context.Context, opDeviceID int) context.Context

func SetOpUserID

func SetOpUserID(ctx context.Context, opUserID int) context.Context

func SetOperationID

func SetOperationID(ctx context.Context, operationID int) context.Context

func WithOpDeviceIDContext

func WithOpDeviceIDContext(ctx context.Context, device int) context.Context

func WithOpUserIDContext

func WithOpUserIDContext(ctx context.Context, opUserID int) context.Context

func WithOperationIDContext

func WithOperationIDContext(ctx context.Context, operationID 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