Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DemoDistinctId string = "ABCDEF123456"
View Source
var DemoEvent structs.EventData = structs.EventData{ Type: "track", Time: DemoTime, DistinctId: DemoDistinctId, Properties: DemoProperties, LibProperties: DemoLib, Project: "default", }
View Source
var DemoEventString string = "ViewProduct"
View Source
var DemoLib structs.LibProperties = structs.LibProperties{
Lib: "Golang",
LibVersion: "1.7.5",
LibMethod: "code",
AppVersion: "",
LibDetail: "##main.main.go##track.go##28",
}
View Source
var DemoProperties map[string]interface{} = map[string]interface{}{ "$ip": "1.1.1.1", "ProductId": "123456", "ProductCatalog": "Laptop Computer", "IsAddedToFav": true, "$is_login_id": true, "$lib": "Golang", "$lib_version": "1.7.5", }
View Source
var DemoTime int64 = 1523329458000
Functions ¶
func MockServerRun ¶
func MockServerRun()
Types ¶
Click to show internal directories.
Click to hide internal directories.