eventcolumns

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package eventcolumns provides column implementations for event data tracking.

Package eventcolumns provides column implementations for event data tracking.

Package eventcolumns provides column implementations for event data tracking.

Package eventcolumns provides column implementations for event data tracking.

Package eventcolumns provides column implementations for event data tracking.

Index

Constants

This section is empty.

Variables

AclidColumn is the column for the ACLID tag of an event

View Source
var ClientIDColumn = columns.NewSimpleEventColumn(
	columns.CoreInterfaces.EventClientID.ID,
	columns.CoreInterfaces.EventClientID.Field,
	func(event *schema.Event) (any, error) {
		return event.BoundHit.ClientID, nil
	},
)

ClientIDColumn is the column for the client ID of an event

View Source
var DateColumn = columns.NewSimpleEventColumn(
	columns.CoreInterfaces.EventDate.ID,
	columns.CoreInterfaces.EventDate.Field,
	func(event *schema.Event) (any, error) {
		return event.BoundHit.Timestamp, nil
	},
)

DateColumn is the column for the date of an event

DclidColumn is the column for the DCLID tag of an event

View Source
var EventIDColumn = columns.NewSimpleEventColumn(
	columns.CoreInterfaces.EventID.ID,
	columns.CoreInterfaces.EventID.Field,
	func(event *schema.Event) (any, error) {
		return event.BoundHit.ID, nil
	},
)

EventIDColumn is the column for the event ID of an event

GclidColumn is the column for the GCLID tag of an event

View Source
var IPAddressColumn = columns.NewSimpleEventColumn(
	columns.CoreInterfaces.EventIPAddress.ID,
	columns.CoreInterfaces.EventIPAddress.Field,
	func(event *schema.Event) (any, error) {
		return event.BoundHit.IP, nil
	},
)

IPAddressColumn is the column for the IP address of an event

View Source
var PropertyIDColumn = columns.NewSimpleEventColumn(
	columns.CoreInterfaces.EventPropertyID.ID,
	columns.CoreInterfaces.EventPropertyID.Field,
	func(event *schema.Event) (any, error) {
		return event.BoundHit.PropertyID, nil
	},
)

PropertyIDColumn is the column for the property ID of an event

SrsltidColumn is the column for the SRSLTID tag of an event

View Source
var TimestampColumn = columns.NewSimpleEventColumn(
	columns.CoreInterfaces.EventTimestamp.ID,
	columns.CoreInterfaces.EventTimestamp.Field,
	func(event *schema.Event) (any, error) {
		return event.BoundHit.Timestamp, nil
	},
)

TimestampColumn is the column for the timestamp of an event

View Source
var UserIDColumn = columns.NewSimpleEventColumn(
	columns.CoreInterfaces.EventUserID.ID,
	columns.CoreInterfaces.EventUserID.Field,
	func(event *schema.Event) (any, error) {
		return event.BoundHit.UserID, nil
	},
)

UserIDColumn is the column for the user ID of an event

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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