Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContextWithCorrelation ¶
ContextWithCorrelation will create a new context containing the Correlation-ID value
func ExtractFromContext ¶
ExtractFromContext extracts the CollectionID from the provided context Returns an empty string if it's unable to extract the CorrelationID for any reason.
func InjectCorrelationID ¶
InjectCorrelationID middleware will propagate or create a Correlation-ID for the incoming request
func NewInstrumentedRoundTripper ¶
func NewInstrumentedRoundTripper(delegate http.RoundTripper) http.RoundTripper
NewInstrumentedRoundTripper acts as a "client-middleware" for outbound http requests adding instrumentation to the outbound request and then delegating to the underlying transport
Types ¶
This section is empty.
 Click to show internal directories. 
   Click to hide internal directories.