Versions in this module Expand all Collapse all v1 v1.0.0 Nov 26, 2020 Changes in this version + type Client struct + func New(key string) *Client + func (c *Client) SendEvents(events []Event) (*Response, error) + func (c *Client) SetClient(client *http.Client) + func (c *Client) SetExtraHeadersForRequests(headers map[string]string) + func (c *Client) SetOptions(options *Options) + type Event struct + Adid *string + AndroidID *string + AppVersion *string + Carrier *string + City *string + Country *string + DeviceBrand *string + DeviceID *string + DeviceManufacturer *string + DeviceModel *string + Dma *string + EventID *int64 + EventProperties map[string]interface{} + EventType string + Groups map[string]interface{} + Idfa *string + Idfv *string + InsertID *int64 + Ip *string + Language *string + LocationLat *float32 + LocationLng *float32 + OsName *string + OsVersion *string + Platform *string + Price *float64 + ProductID *string + Quantity *int64 + Region *string + Revenue *float64 + RevenueType *string + SessionID *int64 + Time int64 + UserID string + UserProperties map[string]interface{} + type Options struct + MinIDLength int + type Response struct + Code int + Error *string + MissingField *string