version

package
v1.200.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 11, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const VerUnknown = "unknown"

VerUnknown is the version used if Ver has not been set by ldflags.

Variables

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

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 BuildXPrebidHeader(version string) string

func BuildXPrebidHeaderForRequest

func BuildXPrebidHeaderForRequest(bidRequest *openrtb2.BidRequest, version string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL