Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter struct { Endpoint string `mapstructure:"endpoint"` // Required UserSyncURL string `mapstructure:"usersync_url"` PlatformID string `mapstructure:"platform_id"` // needed for Facebook XAPI struct { Username string `mapstructure:"username"` Password string `mapstructure:"password"` } `mapstructure:"xapi"` // needed for Rubicon }
type Configuration ¶
type Configuration struct { CookieDomain string `mapstructure:"cookie_domain"` ExternalURL string `mapstructure:"external_url"` Host string `mapstructure:"host"` Port int `mapstructure:"port"` AdminPort int `mapstructure:"admin_port"` DefaultTimeout uint64 `mapstructure:"default_timeout_ms"` CacheURL string `mapstructure:"prebid_cache_url"` RequireUUID2 bool `mapstructure:"require_uuid2"` RecaptchaSecret string `mapstructure:"recaptcha_secret"` Metrics Metrics `mapstructure:"metrics"` DataCache DataCache `mapstructure:"datacache"` Adapters map[string]Adapter `mapstructure:"adapters"` }
Configuration
type DataCache ¶
type DataCache struct { Type string `mapstructure:"type"` Filename string `mapstructure:"filename"` Database string `mapstructure:"dbname"` Host string `mapstructure:"host"` Username string `mapstructure:"user"` Password string `mapstructure:"password"` CacheSize int `mapstructure:"cache_size"` TTLSeconds int `mapstructure:"ttl_seconds"` }
Click to show internal directories.
Click to hide internal directories.