gocache

package
v2.10.0-ow Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package gocache contains caching functionalities of header-bidding repostiry This file provides caching functionalities for tracking-beacon-first (TBF) feature details associated with publishers. It includes methods to interact with the underlying database package for retrieving and caching publisher level TBF data.

Index

Constants

View Source
const (
	PUB_SLOT_INFO  = "pslot_%d_%d_%d_%d" // publisher slot mapping at publisher, profile, display version and adapter level
	PUB_HB_PARTNER = "hbplist_%d_%d_%d"  // header bidding partner list at publishr,profile, display version level
	//HB_PARTNER_CFG = "hbpcfg_%d"         // header bidding partner configuration at partner level
	//PubAadunitConfig - this key for storing adunit config at pub, profile and version level
	PubAdunitConfig = "aucfg_%d_%d_%d"
	PubSlotHashInfo = "pshash_%d_%d_%d_%d"     // slot and its hash info at publisher, profile, display version and adapter level
	PubSlotRegex    = "psregex_%d_%d_%d_%d_%s" // slot and its matching regex info at publisher, profile, display version and adapter level
	PubSlotNameHash = "pslotnamehash_%d"       //publisher slotname hash mapping cache key
	PubVASTTags     = "pvasttags_%d"           //publisher level vasttags
)

Variables

This section is empty.

Functions

func New

func New(goCache *gocache.Cache, database database.Database, cfg config.Cache, metricEngine metrics.MetricsEngine) *cache

Types

This section is empty.

Jump to

Keyboard shortcuts

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