transactionid

package
v3.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2021 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Overview

Package transactionid contains code to share the transactionID

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContextTransactionID

func ContextTransactionID(ctx context.Context) int64

ContextTransactionID returns the TransactionID of the context, or zero

func WithTransactionID

func WithTransactionID(ctx context.Context) context.Context

WithTransactionID returns a copy of ctx with TransactionID

Types

This section is empty.

Jump to

Keyboard shortcuts

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