injector

package
v2.32.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InjectionState

type InjectionState struct {
	// contains filtered or unexported fields
}

type Injector

type Injector interface {
	InjectTracker(vastXML string, NURL string) string
}

type TrackerInjector

type TrackerInjector struct {
	// contains filtered or unexported fields
}

func NewTrackerInjector

func NewTrackerInjector(replacer macros.Replacer, provider *macros.MacroProvider, events VASTEvents) *TrackerInjector

func (*TrackerInjector) InjectTracker

func (trackerinjector *TrackerInjector) InjectTracker(vastXML string, NURL string) (string, error)

type VASTEvents

type VASTEvents struct {
	Errors                 []string
	Impressions            []string
	VideoClicks            []string
	NonLinearClickTracking []string
	CompanionClickThrough  []string
	TrackingEvents         map[string][]string
}

Jump to

Keyboard shortcuts

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