endpoints

package
v0.0.0-...-018946c Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2018 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCookieSyncEndpoint

func NewCookieSyncEndpoint(syncers map[openrtb_ext.BidderName]usersync.Usersyncer, hostCookie *config.HostCookie, syncPermissions gdpr.Permissions, metrics pbsmetrics.MetricsEngine, pbsAnalytics analytics.PBSAnalyticsModule) httprouter.Handle

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 wich 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