Documentation ¶
Index ¶
Constants ¶
View Source
const VerUnknown = "unknown"
VerUnknown is the version used if Ver has not been set by ldflags.
Variables ¶
View Source
var Rev string
Rev holds binary revision string Populated using:
go build -ldflags "-X github.com/prebid/prebid-server/version.Rev=`git rev-parse --short HEAD`"
Populated automatically at build / releases in the Docker image See issue #559
View Source
var Ver string
Ver holds the version derived from the latest git tag Populated using:
go build -ldflags "-X github.com/prebid/prebid-server/version.Ver=`git describe --tags | sed 's/^v//`"
Populated automatically at build / releases in the Docker image
Functions ¶
func BuildXPrebidHeader ¶
func BuildXPrebidHeaderForRequest ¶
func BuildXPrebidHeaderForRequest(bidRequest *openrtb2.BidRequest, version string) string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.