Documentation
¶
Index ¶
- func Auction(cfg *config.Configuration, ...) httprouter.Handle
- func NewCookieSyncEndpoint(syncers map[openrtb_ext.BidderName]usersync.Usersyncer, ...) httprouter.Handle
- func NewCurrencyRatesEndpoint(rateConverter rateConverter) http.HandlerFunc
- func NewGetUIDsEndpoint(cfg config.HostCookie) httprouter.Handle
- func NewSetUIDEndpoint(cfg config.HostCookie, perms gdpr.Permissions, ...) httprouter.Handle
- func NewStatusEndpoint(response string) httprouter.Handle
- func NewVersionEndpoint(version string) http.HandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Auction ¶
func Auction(cfg *config.Configuration, syncers map[openrtb_ext.BidderName]usersync.Usersyncer, gdprPerms gdpr.Permissions, metricsEngine pbsmetrics.MetricsEngine, dataCache cache.Cache, exchanges map[string]adapters.Adapter) httprouter.Handle
func NewCookieSyncEndpoint ¶
func NewCookieSyncEndpoint(syncers map[openrtb_ext.BidderName]usersync.Usersyncer, cfg *config.Configuration, syncPermissions gdpr.Permissions, metrics pbsmetrics.MetricsEngine, pbsAnalytics analytics.PBSAnalyticsModule) httprouter.Handle
func NewCurrencyRatesEndpoint ¶
func NewCurrencyRatesEndpoint(rateConverter rateConverter) 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.HostCookie, perms gdpr.Permissions, pbsanalytics analytics.PBSAnalyticsModule, metrics pbsmetrics.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 string) http.HandlerFunc
NewVersionEndpoint returns the latest commit sha1 from which the binary was built
Types ¶
This section is empty.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.