modules

package
v2.32.0-3 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder interface {
	// Build initializes existing hook modules passing them config and other dependencies.
	// It returns hook repository created based on the implemented hook interfaces by modules
	// and a map of modules to a list of stage names for which module provides hooks
	// or an error encountered during module initialization.
	Build(cfg config.Modules, client moduledeps.ModuleDeps) (hooks.HookRepository, map[string][]string, error)
}

Builder is the interfaces intended for building modules implementing hook interfaces github.com/prebid/prebid-server/hooks/hookstage.

func NewBuilder

func NewBuilder() Builder

NewBuilder returns a new module builder.

type ModuleBuilderFn

type ModuleBuilderFn func(cfg json.RawMessage, deps moduledeps.ModuleDeps) (interface{}, error)

ModuleBuilderFn returns an interface{} type that implements certain hook interfaces.

type ModuleBuilders

type ModuleBuilders map[string]map[string]ModuleBuilderFn

ModuleBuilders mapping between module name and its builder: map[vendor]map[module]ModuleBuilderFn

Directories

Path Synopsis
fiftyonedegrees
prebid
pubmatic
openwrap/cache/mock
Package mock_cache is a generated GoMock package.
Package mock_cache is a generated GoMock package.
openwrap/database/mock
Package mock_database is a generated GoMock package.
Package mock_database is a generated GoMock package.
openwrap/database/mock_driver
Package mock_driver is a generated GoMock package.
Package mock_driver is a generated GoMock package.
openwrap/geodb
Package geodb provides an interface for performing IP-to-geography lookups using a GeoIP database
Package geodb provides an interface for performing IP-to-geography lookups using a GeoIP database
openwrap/geodb/mock
Package mock_geodb is a generated GoMock package.
Package mock_geodb is a generated GoMock package.
openwrap/geodb/netacuity
Package netacuity offers methods for initializing a GeoIP database client and to perform the ip-to-geo lookup functionality.
Package netacuity offers methods for initializing a GeoIP database client and to perform the ip-to-geo lookup functionality.
openwrap/metrics/mock
Package mock_metrics is a generated GoMock package.
Package mock_metrics is a generated GoMock package.
openwrap/metrics/stats/mock
Package mock_stats is a generated GoMock package.
Package mock_stats is a generated GoMock package.
openwrap/profilemetadata/mock
Package mock_profilemetadata is a generated GoMock package.
Package mock_profilemetadata is a generated GoMock package.
openwrap/publisherfeature
Package tbf provides functionalities related to the Tracking-Beacon-First (TBF) feature.
Package tbf provides functionalities related to the Tracking-Beacon-First (TBF) feature.
openwrap/publisherfeature/mock
Package mock_publisherfeature is a generated GoMock package.
Package mock_publisherfeature is a generated GoMock package.
openwrap/wakanda/mock
Package mock_wakanda is a generated GoMock package.
Package mock_wakanda is a generated GoMock package.

Jump to

Keyboard shortcuts

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