Documentation ¶
Index ¶
- func NewCurrencyRatesEndpoint(rateConverter rateConverter, fetchingInterval time.Duration) http.HandlerFunc
- func NewGetUIDsEndpoint(cfg config.HostCookie) httprouter.Handle
- func NewSetUIDEndpoint(cfg *config.Configuration, syncersByBidder map[string]usersync.Syncer, ...) httprouter.Handle
- func NewStatusEndpoint(response string) httprouter.Handle
- func NewVersionEndpoint(version, revision string) http.HandlerFunc
- type CookieSyncReq
- type CookieSyncResp
- type HTTPRouterHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCurrencyRatesEndpoint ¶
func NewCurrencyRatesEndpoint(rateConverter rateConverter, fetchingInterval time.Duration) http.HandlerFunc
NewCurrencyRatesEndpoint returns current currency rates applied by the PBS server.
func NewGetUIDsEndpoint ¶
func NewGetUIDsEndpoint(cfg config.HostCookie) httprouter.Handle
NewGetUIDsEndpoint implements the /getuid endpoint which returns all the existing syncs for the user
func NewSetUIDEndpoint ¶
func NewSetUIDEndpoint(cfg *config.Configuration, syncersByBidder map[string]usersync.Syncer, gdprPermsBuilder gdpr.PermissionsBuilder, tcf2CfgBuilder gdpr.TCF2ConfigBuilder, pbsanalytics analytics.PBSAnalyticsModule, accountsFetcher stored_requests.AccountFetcher, metricsEngine metrics.MetricsEngine) httprouter.Handle
func NewStatusEndpoint ¶
func NewStatusEndpoint(response string) httprouter.Handle
NewStatusEndpoint returns a handler which writes the given response when the app is ready to serve requests.
func NewVersionEndpoint ¶
func NewVersionEndpoint(version, revision string) http.HandlerFunc
NewVersionEndpoint returns the latest git tag as the version and commit hash as the revision from which the binary was built
Types ¶
type CookieSyncReq ¶
type CookieSyncReq cookieSyncRequest
type CookieSyncResp ¶
type CookieSyncResp cookieSyncResponse
type HTTPRouterHandler ¶
type HTTPRouterHandler interface {
Handle(http.ResponseWriter, *http.Request, httprouter.Params)
}
func NewCookieSyncEndpoint ¶
func NewCookieSyncEndpoint( syncersByBidder map[string]usersync.Syncer, config *config.Configuration, gdprPermsBuilder gdpr.PermissionsBuilder, tcf2CfgBuilder gdpr.TCF2ConfigBuilder, metrics metrics.MetricsEngine, pbsAnalytics analytics.PBSAnalyticsModule, accountsFetcher stored_requests.AccountFetcher, bidders map[string]openrtb_ext.BidderName) HTTPRouterHandler
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
ctv/combination
Package combination generates possible ad pod response based on bid response durations.
|
Package combination generates possible ad pod response based on bid response durations. |
ctv/impressions
Package impressions provides various algorithms to get the number of impressions along with minimum and maximum duration of each impression.
|
Package impressions provides various algorithms to get the number of impressions along with minimum and maximum duration of each impression. |
Click to show internal directories.
Click to hide internal directories.