Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client provides methods to interact with the Algolia Insights API.
func NewClient ¶
NewClient instantiates a new client able to interact with the Algolia Insights API.
func NewClientWithConfig ¶
func NewClientWithConfig(config _insights.Configuration) *Client
NewClientWithConfig instantiates a new client able to interact with the Algolia Insights API.
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"`
}
type EventWrapper ¶
type EventsRes ¶
type EventsRes struct {
Events []EventWrapper `json:"events"`
}
Click to show internal directories.
Click to hide internal directories.