Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PubSubMessage ¶
type PubSubMessage struct {
Data []byte `json:"data"`
}
PubSubMessage is the payload of a Pub/Sub event. Please refer to the docs for additional information regarding Pub/Sub events.
type SubscriptionPurchaseNotification ¶
type SubscriptionPurchaseNotification struct {
Version string `json:"version"`
PackageName string `json:"packageName"`
EventTimeMillis string `json:"eventTimeMillis"`
SubscriptionNotification *SubscriptionPurchaseNotification `json:"subscriptionNotification"`
TestNotification *TestSubscriptionPurchaseNotification `json:"testNotification"`
}
type TestSubscriptionPurchaseNotification ¶
type TestSubscriptionPurchaseNotification struct {
Version string `json:"version"`
}
type WebhookReq ¶
type WebhookReq struct {
Message *WebhookReqMessage `json:"message"`
}
type WebhookReqMessage ¶
type WebhookReqMessage struct {
Data string `json:"data"`
}
Click to show internal directories.
Click to hide internal directories.