payloadserver

package
v0.0.0-...-8bdb91b Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: Unlicense Imports: 9 Imported by: 0

README

payloadserver.go contains the ``Payload`` function that gets deployed. To deploy
it from the command line, run:

		$ gcloud functions deploy payloadserver --entry-point Payload --runtime go111 --trigger-http --set-env-vars HOOK_SECRET_KEY=<key>

Then point the Github webhook to it, and it should work.

To check logs from the command-line, run:

		$ gcloud functions logs read payloadserver

Documentation

Overview

Simple payload server for Github hooks. Payload is the http handler. For instructions on deploying as a Google Cloud Function, see README.rst

Eli Bendersky [https://eli.thegreenplace.net] This code is in the public domain.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Payload

func Payload(w http.ResponseWriter, r *http.Request)

Payload is the entry point HTTP handler.

Types

This section is empty.

Jump to

Keyboard shortcuts

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