package
3.3.7
Repository: https://github.com/omegaup/go-base.git
Documentation: pkg.go.dev

# Functions

FromContext returns the current Transaction associated with the Context.
NewContext associates the transaction with the provided context.
NewNoOpProvider returns a new provider that does nothing.
NewNoOpTransaction returns a Transaction that does nothing.

# Constants

TransportQueue represents that the transaction was performed over a queue.

# Structs

An Arg represents a name-value pair.

# Interfaces

Provider is the interface that can create Transactions.
A Segment is a part of a transaction used to instrument functions, methods, and blocks of code.
A Transaction represents one logical unit of work: either an inbound web request or background task.

# Type aliases

TransportType is used in Transaction.AcceptDistributedTraceHeaders to represent the type of connection that the trace payload was transported over.