endpoints

package
v0.0.0-...-aaff53c Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2019 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

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) func(w http.ResponseWriter, r *http.Request)

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 NewStatusEndpoint

func NewStatusEndpoint(response string) func(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

NewStatusEndpoint returns a handler which writes the given response when the app is ready to serve requests.

func NewVersionEndpoint

func NewVersionEndpoint(version string) func(w http.ResponseWriter, r *http.Request)

NewVersionEndpoint returns the latest commit sha1 from which the binary was built

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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