mcontext

package
v0.0.0-...-adb5103 Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConnID

func GetConnID(ctx context.Context) string

func GetOpUserID

func GetOpUserID(ctx context.Context) string

func GetOpUserPlatform

func GetOpUserPlatform(ctx context.Context) string

func GetOpUserType

func GetOpUserType(ctx context.Context) int32

func GetOperationID

func GetOperationID(ctx context.Context) string

func GetRemoteAddr

func GetRemoteAddr(ctx context.Context) string

func GetTriggerID

func GetTriggerID(ctx context.Context) string

func NewCtx

func NewCtx(operationID string) context.Context

func SetConnID

func SetConnID(ctx context.Context, connID string) context.Context

func SetOpUserID

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

func SetOperationID

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

func WithOpUserIDContext

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

func WithOpUserPlatformContext

func WithOpUserPlatformContext(ctx context.Context, platform string) context.Context

func WithTriggerIDContext

func WithTriggerIDContext(ctx context.Context, triggerID 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