macros

package
v0.221.0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2022 License: Apache-2.0 Imports: 2 Imported by: 42

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResolveMacros

func ResolveMacros(aTemplate *template.Template, params interface{}) (string, error)

ResolveMacros resolves macros in the given template with the provided params

Types

type EndpointTemplateParams

type EndpointTemplateParams struct {
	Host        string
	PublisherID string
	ZoneID      string
	SourceId    string
	AccountID   string
	AdUnit      string
}

EndpointTemplateParams specifies params for an endpoint template

type UserSyncTemplateParams

type UserSyncTemplateParams struct {
	GDPR        string
	GDPRConsent string
	USPrivacy   string
}

UserSyncTemplateParams specifies params for an user sync URL template

Jump to

Keyboard shortcuts

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