Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
*algoliaInsights.APIClient
}
Client wraps the default Insights API client so that we can declare methods on it
type Event ¶
type Event struct { EventType string `json:"eventType"` EventName string `json:"eventName"` Index string `json:"index"` UserToken string `json:"userToken"` Timestamp Timestamp `json:"timestamp"` ObjectIDs []string `json:"objectIDs,omitempty"` Positions []int `json:"positions,omitempty"` QueryID string `json:"queryID,omitempty"` Filters []string `json:"filters,omitempty"` }
TODO: Replace this with a type from the API.
type EventWrapper ¶
type EventsRes ¶
type EventsRes struct {
Events []EventWrapper `json:"events"`
}
Click to show internal directories.
Click to hide internal directories.