Versions in this module Expand all Collapse all v0 v0.9.0 Apr 15, 2021 Changes in this version + type App struct + Date time.Time + ID string + Name string + Status string + type AppCampaignResponse struct + Items []AppCampaignStruct + type AppCampaignResultStruct struct + AppID string + CampaignID string + Complete bool + Context map[string]interface{} + Data map[string]interface{} + Date time.Time + ID string + Metadata map[string]interface{} + type AppCampaignResults struct + func (acr *AppCampaignResults) Get(campaignID string, params map[string]string) (*AppCampaignResultsResponse, error) + func (acr *AppCampaignResults) Iterate(campaignID string, params map[string]string) chan AppCampaignResultStruct + type AppCampaignResultsResponse struct + Items []AppCampaignResultStruct + type AppCampaignStruct struct + AppIds []string + CreatedAt time.Time + ID string + LastModifiedAt time.Time + Name string + Status string + type AppCampaigns struct + func (ac *AppCampaigns) Get(params map[string]string) (*AppCampaignResponse, error) + func (ac *AppCampaigns) Results() *AppCampaignResults + type AppFeedbackItem struct + AppID string + AppName string + AppVersion string + BatteryLevel float32 + Connection string + Custom map[string]string + Data map[string]interface{} + Date time.Time + DeviceName string + FreeMemory int + FreeStorage int + GeoLocation map[string]interface{} + ID string + IPAddress string + Language string + Location string + Orientation string + OsName string + OsVersion string + Screenshot string + Screensize string + Timestamp string + TotalMemory int + TotalStorage int + type AppFeedbackItems struct + func (af *AppFeedbackItems) Get(appID string, params map[string]string) (*AppFeedbackResponse, error) + func (af *AppFeedbackItems) Iterate(appID string, params map[string]string) chan AppFeedbackItem + type AppFeedbackResponse struct + Items []AppFeedbackItem + type AppResponse struct + Items []App + type Apps struct + func (a *Apps) Feedback() *AppFeedbackItems + func (a *Apps) Get(params map[string]string) (*AppResponse, error) + type Button struct + ID string + Name string + type ButtonResponse struct + Items []Button + func NewButtonResponse(data []byte) (*ButtonResponse, error) + type Buttons struct + func (b *Buttons) Feedback() *FeedbackItems + func (b *Buttons) Get(params map[string]string) (*ButtonResponse, error) + type CampaignResponse struct + Items []CampaignStruct + func NewCampaignResponse(data []byte) (*CampaignResponse, error) + type CampaignResultResponse struct + Items []CampaignResultStruct + func NewCampaignResultResponse(data []byte) (*CampaignResultResponse, error) + type CampaignResultStruct struct + CampaignID string + CustomData map[string]string + Data map[string]interface{} + Date time.Time + ID string + Location string + Time float64 + URL string + UserAgent string + type CampaignResults struct + func (r *CampaignResults) Get(campaignID string, params map[string]string) (*CampaignResultResponse, error) + func (r *CampaignResults) Iterate(campaignID string, params map[string]string) chan CampaignResultStruct + type CampaignStatStruct struct + Completed int + Conversion int + ID string + Views int + type CampaignStats struct + func (cs *CampaignStats) Get(campaignID string, params map[string]string) (*CampaignStatsResponse, error) + func (cs *CampaignStats) Iterate(campaignID string, params map[string]string) chan CampaignStatStruct + type CampaignStatsResponse struct + Items []CampaignStatStruct + func NewCampaignStatsResponse(data []byte) (*CampaignStatsResponse, error) + type CampaignStruct struct + AnalyticsID string + ButtonID string + Date time.Time + ID string + Name string + Status string + Type string + type Campaigns struct + func (c *Campaigns) Get(params map[string]string) (*CampaignResponse, error) + func (c *Campaigns) Results() *CampaignResults + func (c *Campaigns) Stats() *CampaignStats + type EmailButton struct + Date string + Groups []map[string]interface{} + ID string + IntroText string + Locale string + Name string + type EmailButtonResponse struct + Items []EmailButton + func NewEmailButtonResponse(data []byte) (*EmailButtonResponse, error) + type EmailButtons struct + func (eb *EmailButtons) Feedback() *FeedbackItems + func (eb *EmailButtons) Get(params map[string]string) (*EmailButtonResponse, error) + type FeedbackItem struct + ButtonID string + Comment string + Custom map[string]string + Date time.Time + Email string + ID string + Image string + Labels []string + Location string + NPS int + PublicURL string + Rating int + Tags []string + URL string + UserAgent string + type FeedbackItems struct + func (f *FeedbackItems) Get(buttonID string, params map[string]string) (*FeedbackResponse, error) + func (f *FeedbackItems) Iterate(buttonID string, params map[string]string) chan FeedbackItem + type FeedbackResponse struct + Items []FeedbackItem + func NewFeedbackResponse(data []byte) (*FeedbackResponse, error) + type GeoLoc struct + City string + Country string + Region string + type InpageWidgetFeedbackItems struct + func (r *InpageWidgetFeedbackItems) Get(inpageID string, params map[string]string) (*InpageWidgetFeedbackResponse, error) + func (r *InpageWidgetFeedbackItems) Iterate(inpageID string, params map[string]string) chan InpageWidgetFeedbackStruct + type InpageWidgetFeedbackResponse struct + Items []InpageWidgetFeedbackStruct + func NewInpageWidgetFeedbackResponse(data []byte) (*InpageWidgetFeedbackResponse, error) + type InpageWidgetFeedbackStruct struct + Comment string + CustomData map[string]interface{} + Data map[string]interface{} + Date time.Time + Geo GeoLoc + ID string + Mood int + Nps int + Rating float64 + Url string + UserAgent string + Widget_ID string + type InpageWidgetResponse struct + Items []InpageWidgetStruct + func NewInpageWidgetResponse(data []byte) (*InpageWidgetResponse, error) + type InpageWidgetStruct struct + Date time.Time + ID string + Name string + type InpageWidgets struct + func (c *InpageWidgets) Feedback() *InpageWidgetFeedbackItems + func (c *InpageWidgets) Get(params map[string]string) (*InpageWidgetResponse, error) + type Usabilla struct + Client *http.Client + func New(key, secret string, customClient *http.Client) *Usabilla + func (usabilla *Usabilla) AppCampaigns() *AppCampaigns + func (usabilla *Usabilla) Apps() *Apps + func (usabilla *Usabilla) Buttons() *Buttons + func (usabilla *Usabilla) Campaigns() *Campaigns + func (usabilla *Usabilla) EmailButtons() *EmailButtons + func (usabilla *Usabilla) InpageWidgets() *InpageWidgets