google_cloud_functions

package module
v0.0.0-...-25bbf33 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 25, 2021 License: MIT Imports: 11 Imported by: 0

README

Separate real-time developer notifications for staging and production in google play console

First we accept requests to the cloud function, then to our server

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Redirect

func Redirect(ctx context.Context, m PubSubMessage) error

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL