Documentation ¶
Index ¶
Constants ¶
View Source
const ( KEY_MAX = 100 VALUE_MAX = 8192 NAME_PATTERN_BAD = "" /* 158-byte string literal not displayed */ NAME_PATTERN_OK = "^[a-zA-Z_$][a-zA-Z\\d_$]{0,99}$" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventData ¶
type EventData struct { Type string `json:"type"` TrackID int32 `json:"_track_id"` Time int64 `json:"time"` DistinctId string `json:"distinct_id,omitempty"` Properties map[string]interface{} `json:"properties"` LibProperties LibProperties `json:"lib"` Project string `json:"project"` Event string `json:"event"` OriginId string `json:"original_id,omitempty"` TimeFree bool `json:"time_free,omitempty"` Identities map[string]string `json:"identities,omitempty"` }
func (*EventData) CheckIdentities ¶
func (*EventData) NormalizeData ¶
type Item ¶
type Item struct { Type string `json:"type"` TrackID int `json:"_track_id"` Time int64 `json:"time"` ItemType string `json:"item_type"` ItemId string `json:"item_id"` Project string `json:"project"` Properties map[string]interface{} `json:"properties"` LibProperties LibProperties `json:"lib"` }
func (*Item) NormalizeItem ¶
Click to show internal directories.
Click to hide internal directories.