github.com/newrelic/go-agent@v3.26.0+incompatible/internal/cat/headers.go (about)

     1  // Copyright 2020 New Relic Corporation. All rights reserved.
     2  // SPDX-License-Identifier: Apache-2.0
     3  
     4  // Package cat provides functionality related to the wire format of CAT
     5  // headers.
     6  package cat
     7  
     8  // These header names don't match the spec in terms of their casing, but does
     9  // match what Go will give us from http.CanonicalHeaderKey(). Besides, HTTP
    10  // headers are case insensitive anyway. Rejoice!
    11  const (
    12  	NewRelicIDName         = "X-Newrelic-Id"
    13  	NewRelicTxnName        = "X-Newrelic-Transaction"
    14  	NewRelicAppDataName    = "X-Newrelic-App-Data"
    15  	NewRelicSyntheticsName = "X-Newrelic-Synthetics"
    16  )