Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(tracy *TracyGo)
Option is an optional func.
func CorrelationID ¶ added in v1.0.3
CorrelationID returns a function that sets the key for the correlationId header.
type TracyGo ¶
type TracyGo struct {
// contains filtered or unexported fields
}
TracyGo is a struct for the tracy object.
func (*TracyGo) AtreugoCheckTracingIDs ¶ added in v1.0.3
AtreugoCheckTracingIDs is a useBefore middleware for atreugo that checks if a correlationID and requestID have been set and creates a new one if they have not been set yet.
func (*TracyGo) RestyCheckTracingIDs ¶ added in v1.0.3
RestyCheckTracingIDs is a OnBeforeRequest middleware for resty which check if the context has the tracing ids set. If they are set, they should be put into the request headers.
Click to show internal directories.
Click to hide internal directories.