Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type DashboardSummary ¶
type DashboardSummary struct {
MessagesSent uint64 `json:"messages_sent" bson:"messages_sent"`
Applications int `json:"apps" bson:"apps"`
Period string `json:"period" bson:"period"`
PeriodData *[]MessageInterval `json:"message_data,omitempty" bson:"message_data"`
}
type Message ¶ added in v0.1.0
type Message struct {
MessageID string `json:"msg_id" bson:"msg_id"`
AppID string `json:"app_id" bson:"app_id"`
EventType string `json:"event_type" bson:"event_type"`
ProviderID string `json:"provider_id" bson:"provider_id"`
Data json.RawMessage `json:"data" bson:"data"`
Status string `json:"status" bson:"status"`
CreatedAt int64 `json:"created_at" bson:"created_at"`
}
type MessageAttempt ¶ added in v0.1.0
type MessageAttempt struct {
MessageID string `json:"msg_id" bson:"msg_id"`
APIVersion string `json:"api_version" bson:"api_version"`
IPAddress string `json:"ip" bson:"ip"`
Status string `json:"status" bson:"status"`
CreatedAt int64 `json:"created_at" bson:"created_at"`
MessageResponse MessageResponse `json:"response" bson:"response"`
}
type MessageInterval ¶ added in v0.1.0
type MessageInterval struct {
Data MessageIntervalData `json:"data" bson:"_id"`
Count uint64 `json:"count" bson:"count"`
}
type MessageIntervalData ¶ added in v0.1.0
type MessageResponse ¶
type MessageResponse struct {
Status int `json:"status" bson:"status"`
Data json.RawMessage `json:"data" bson:"data"`
}
type SearchParams ¶ added in v0.1.0
type WebhookRequest ¶
type WebhookRequest struct {
Event string `json:"event" bson:"event"`
Data json.RawMessage `json:"data" bson:"data"`
}
Click to show internal directories.
Click to hide internal directories.