Documentation ¶
Index ¶
- func GetConnID(ctx context.Context) string
- func GetCtxInfos(ctx context.Context) (operationID, opUserID, platform, connID string, err error)
- func GetMustCtxInfo(ctx context.Context) (operationID, opUserID, platform, connID string, err error)
- func GetOpUserID(ctx context.Context) string
- func GetOpUserPlatform(ctx context.Context) string
- func GetOperationID(ctx context.Context) string
- func GetRemoteAddr(ctx context.Context) string
- func GetTriggerID(ctx context.Context) string
- func NewCtx(operationID string) context.Context
- func SetConnID(ctx context.Context, connID string) context.Context
- func SetOpUserID(ctx context.Context, opUserID string) context.Context
- func SetOperationID(ctx context.Context, operationID string) context.Context
- func WithMustInfoCtx(values []string) context.Context
- func WithOpUserIDContext(ctx context.Context, opUserID string) context.Context
- func WithOpUserPlatformContext(ctx context.Context, platform string) context.Context
- func WithTriggerIDContext(ctx context.Context, triggerID string) context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCtxInfos ¶
func GetMustCtxInfo ¶
func GetOpUserID ¶
func GetOpUserPlatform ¶
func GetOperationID ¶
func GetRemoteAddr ¶
func GetTriggerID ¶
func WithMustInfoCtx ¶
func WithOpUserIDContext ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.