Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventRequest ¶
type SurveyResponse ¶
type TransactionalCampaignMessagesRequest ¶
type UserRequest ¶
type UserRequest struct { UserID string `json:"userId"` FirstName string `json:"firstName"` LastName string `json:"lastName"` BirthDate string `json:"birthDate"` Gender string `json:"gender"` Email string `json:"email"` Phone string `json:"phone"` Company string `json:"company"` Attributes map[string]interface{} `json:"attributes"` }
type Webengage ¶
type Webengage interface { CreateUser(ctx context.Context, apiKey string, licenseCode string, request UserRequest) error CreateBulkUser(ctx context.Context, apiKey string, licenseCode string, request []UserRequest) error UpdateUser(ctx context.Context, apiKey, licenseCode, userID string, request UserRequest) error CreateEvent(ctx context.Context, apiKey, licenseCode, userID string, eventName string, eventTime string, eventData map[string]interface{}) error CreateBulkEvent(ctx context.Context, apiKey string, licenseCode string, request []EventRequest) error CreateTransactionalCampaignMessages(ctx context.Context, apiKey, licenseCode, userID string, ttl int, token map[string]interface{}, experimentID string) (*TransactionalCampaignMessagesResponse, error) GetSurvey(ctx context.Context, apiKey, surveyResponseID string) (*SurveyResponse, error) }
Webengage is the interface for the webengage client.
type WebengageResponseError ¶
Click to show internal directories.
Click to hide internal directories.