processor

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: AGPL-3.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TransType = map[string]string{
		"FIELDMAP":      "field_map",
		"FIELDHIDING":   "field_hide",
		"FIELDDELETING": "field_delete",
	}
	SystemTransformationRules = []TransformationRuleT{
		{
			Field: "anonymousId",
			Type:  TransType["FIELDHIDING"],
		},
	}
)

Functions

This section is empty.

Types

type HandleT

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

func (*HandleT) Print

func (proc *HandleT) Print()

Print the internal structure

func (*HandleT) Setup

func (proc *HandleT) Setup(gatewayDB *jobsdb.HandleT, routerDB *jobsdb.HandleT, batchRouterDB *jobsdb.HandleT)

Setup initializes the module

type ResponseT

type ResponseT struct {
	Events  []interface{}
	Success bool
}

type TransformationRuleT added in v1.1.0

type TransformationRuleT struct {
	From  string `json:"from"`
	To    string `json:"to"`
	Field string `json:"field"`
	Type  string `json:"type"`
	Value string `json:"value"`
}

Jump to

Keyboard shortcuts

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