Versions in this module Expand all Collapse all v1 v1.9.1 Mar 9, 2022 Changes in this version + func Record(eventType EventType, userId int, value ...map[string]interface{}) + func RecordStruct(eventType EventType, userId int, str interface{}) error + func Start(conf *config.Options) + func StructToMap(v interface{}) (map[string]interface{}, error) + type Event struct + CreatedAt time.Time + EsTimeStamp int64 + Type EventType + UserId int + Values map[string]interface{} + type EventType string + const EventTypeDeviceAdd + const EventTypeDeviceDelete + const EventTypePluginAdd + const EventTypePluginDelete