Documentation ¶
Index ¶
- Constants
- type Client
- func (s *Client) FetchReactEmailHTML(ctx context.Context, alertType ReactEmailTemplate, data map[string]interface{}) (string, error)
- func (s *Client) GetActivityGraph(ctx context.Context, eventCounts string) (*http.Response, error)
- func (s *Client) GetSessionInsight(ctx context.Context, projectID int, sessionID int) (*http.Response, error)
- func (s *Client) GetSessionInsightEmailHtml(ctx context.Context, toEmail string, unsubscribeUrl string, ...) (string, error)
- func (s *Client) GetSessionInsightRequest(ctx context.Context, url string, projectID int, sessionID int) *retryablehttp.Request
- func (s *Client) GetSessionScreenshot(ctx context.Context, projectID int, sessionID int, ts *int, chunk *int, ...) (*SessionScreenshotResponse, error)
- type ReactEmailTemplate
- type ServiceType
- type SessionScreenshotResponse
Constants ¶
View Source
const (
NilPayloadHash = "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Config *aws.Config Credentials *aws.Credentials HTTPClient *http.Client RetryableHTTPClient *retryablehttp.Client }
func NewLambdaClient ¶
func (*Client) FetchReactEmailHTML ¶
func (*Client) GetActivityGraph ¶
func (*Client) GetSessionInsight ¶
func (*Client) GetSessionInsightEmailHtml ¶
func (*Client) GetSessionInsightRequest ¶
func (*Client) GetSessionScreenshot ¶
type ReactEmailTemplate ¶
type ReactEmailTemplate string
const ( // deprecated emails ReactEmailTemplateErrorAlert ReactEmailTemplate = "error-alert" ReactEmailTemplateLogAlert ReactEmailTemplate = "log-alert" ReactEmailTemplateNewSessionAlert ReactEmailTemplate = "new-session-alert" ReactEmailTemplateNewUserAlert ReactEmailTemplate = "new-user-alert" ReactEmailTemplateRageClickAlert ReactEmailTemplate = "rage-click-alert" ReactEmailTemplateTrackEventAlert ReactEmailTemplate = "track-event-properties-alert" ReactEmailTemplateTrackUserAlert ReactEmailTemplate = "track-user-properties-alert" // new alert emails ReactEmailTemplateSessionsAlert ReactEmailTemplate = "sessions-alert" ReactEmailTemplateErrorsAlert ReactEmailTemplate = "errors-alert" ReactEmailTemplateLogsAlert ReactEmailTemplate = "logs-alert" ReactEmailTemplateTracesAlert ReactEmailTemplate = "traces-alert" ReactEmailTemplateMetricsAlert ReactEmailTemplate = "metrics-alert" ReactEmailTemplateEventsAlert ReactEmailTemplate = "events-alert" // session insights ReactEmailTemplateSessionInsights ReactEmailTemplate = "session-insights" // notifications ReactEmailTemplateAlertUpsert ReactEmailTemplate = "alert-upsert" )
type ServiceType ¶
type ServiceType string
const ( ExecuteAPI ServiceType = "execute-api" LambdaAPI ServiceType = "lambda" )
Click to show internal directories.
Click to hide internal directories.