Documentation
¶
Index ¶
- Constants
- func CloneApp(s *openrtb2.App) *openrtb2.App
- func CloneBidRequestPartial(s *openrtb2.BidRequest) *openrtb2.BidRequest
- func CloneBrandVersion(s *openrtb2.BrandVersion) *openrtb2.BrandVersion
- func CloneBrandVersionSlice(s []openrtb2.BrandVersion) []openrtb2.BrandVersion
- func CloneChannel(s *openrtb2.Channel) *openrtb2.Channel
- func CloneContent(s *openrtb2.Content) *openrtb2.Content
- func CloneDOOH(s *openrtb2.DOOH) *openrtb2.DOOH
- func CloneData(s openrtb2.Data) openrtb2.Data
- func CloneDataSlice(s []openrtb2.Data) []openrtb2.Data
- func CloneDevice(s *openrtb2.Device) *openrtb2.Device
- func CloneEID(s openrtb2.EID) openrtb2.EID
- func CloneEIDSlice(s []openrtb2.EID) []openrtb2.EID
- func CloneGeo(s *openrtb2.Geo) *openrtb2.Geo
- func CloneNetwork(s *openrtb2.Network) *openrtb2.Network
- func CloneProducer(s *openrtb2.Producer) *openrtb2.Producer
- func ClonePublisher(s *openrtb2.Publisher) *openrtb2.Publisher
- func CloneSChain(s *openrtb2.SupplyChain) *openrtb2.SupplyChain
- func CloneSegment(s openrtb2.Segment) openrtb2.Segment
- func CloneSegmentSlice(s []openrtb2.Segment) []openrtb2.Segment
- func CloneSite(s *openrtb2.Site) *openrtb2.Site
- func CloneSource(s *openrtb2.Source) *openrtb2.Source
- func CloneSupplyChainNode(s openrtb2.SupplyChainNode) openrtb2.SupplyChainNode
- func CloneSupplyChainNodes(s []openrtb2.SupplyChainNode) []openrtb2.SupplyChainNode
- func CloneUID(s openrtb2.UID) openrtb2.UID
- func CloneUIDSlice(s []openrtb2.UID) []openrtb2.UID
- func CloneUser(s *openrtb2.User) *openrtb2.User
- func CloneUserAgent(s *openrtb2.UserAgent) *openrtb2.UserAgent
- func SetDefaults(r *openrtb_ext.RequestWrapper) error
Constants ¶
View Source
const ( DefaultPriceGranularityPrecision = 2 DefaultTargetingIncludeWinners = true DefaultTargetingIncludeBidderKeys = true DefaultSecure = int8(1) )
Variables ¶
This section is empty.
Functions ¶
func CloneBidRequestPartial ¶ added in v2.6.0
func CloneBidRequestPartial(s *openrtb2.BidRequest) *openrtb2.BidRequest
CloneBidRequestPartial performs a deep clone of just the bid request device, user, and source fields.
func CloneBrandVersion ¶ added in v2.1.0
func CloneBrandVersion(s *openrtb2.BrandVersion) *openrtb2.BrandVersion
func CloneBrandVersionSlice ¶ added in v2.1.0
func CloneBrandVersionSlice(s []openrtb2.BrandVersion) []openrtb2.BrandVersion
func CloneSChain ¶ added in v2.1.0
func CloneSChain(s *openrtb2.SupplyChain) *openrtb2.SupplyChain
func CloneSupplyChainNode ¶ added in v2.1.0
func CloneSupplyChainNode(s openrtb2.SupplyChainNode) openrtb2.SupplyChainNode
func CloneSupplyChainNodes ¶ added in v2.1.0
func CloneSupplyChainNodes(s []openrtb2.SupplyChainNode) []openrtb2.SupplyChainNode
func CloneUserAgent ¶ added in v2.1.0
func SetDefaults ¶
func SetDefaults(r *openrtb_ext.RequestWrapper) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.