14 lines
489 B
Go
14 lines
489 B
Go
// Package constants define constant variable
|
|
package constants
|
|
|
|
// ClientTokenContextName is the Gin key used for the configured client token.
|
|
const ClientTokenContextName = "client_token"
|
|
|
|
type contextKey string
|
|
|
|
// MeasurementUUIDKey define measurement uuid key into context
|
|
const MeasurementUUIDKey contextKey = "measurement_uuid"
|
|
|
|
// CtxKeyClientToken is the typed standard-library context key for client token propagation.
|
|
const CtxKeyClientToken contextKey = ClientTokenContextName
|