bi

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotFoundEventType = status.Error(codes.NotFound, "ErrNotFoundEventType")
	ErrInvalidProperties = status.Error(codes.InvalidArgument, "ErrInvalidProperties")
)

Functions

This section is empty.

Types

type DataProcessor

type DataProcessor interface {
	Handle(name EventType, userID string, distinct string, properties []byte) error
}

type EventType

type EventType string
const (
	// EventTypeUserSet MixPanel: https://developer.mixpanel.com/docs/http#section--set
	//ThinkingData:overwriting one or more user attributes,
	// overwriting the previous value if the attribute already exists
	EventTypeUserSet EventType = "#user.set"
	// EventTypeUserSetOnce MixPanel:https://developer.mixpanel.com/docs/http#section--set_once
	//ThinkingData: initialize one or more user attributes, if the attribute already exists, ignore the operation
	EventTypeUserSetOnce EventType = "#user.setOnce"
	//MixPanel:https://developer.mixpanel.com/docs/http#section--add
	//ThinkingData: adding calculations to one or more numeric user attributes
	EventTypeUserAdd EventType = "#user.add"
	//MixPanel:https://developer.mixpanel.com/docs/http#section--delete
	//ThinkingData: delete this user table
	EventTypeUserDel EventType = "#user.delete"

	// EventTypeUserAppend (Unimplemented)
	// MixPanel:https://developer.mixpanel.com/docs/http#section--append
	// /ThinkingData: not support
	EventTypeUserAppend EventType = "#user.append"
	// EventTypeUserUnion (Unimplemented)
	// MixPanel:https://developer.mixpanel.com/docs/http#section--union
	// ThinkingData: not support
	EventTypeUserUnion EventType = "#user.union"
	// EventTypeUserRemove (Unimplemented)
	// MixPanel: https://developer.mixpanel.com/docs/http#section--remove
	// ThinkingData: not support
	EventTypeUserRemove EventType = "#user.remove"
	//(Unimplemented)
	// MixPanel: https://developer.mixpanel.com/docs/http#section--unset
	// ThinkingData:not support
	EventTypeUserUnset EventType = "#user.unset"
)

func (EventType) String

func (et EventType) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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