submit

package
v0.0.0-...-420d421 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handle

func Handle(cfg *config.Config, w http.ResponseWriter, r *http.Request)

Handle consumes the webhook and posts the data to Slack.

func Handler

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

Handler is the entrypoint for Vercel serverless functions.

Types

type Info

type Info struct {
	Error expo.Error `json:"error"`
}

type WebhookPayload

type WebhookPayload struct {
	Id       string        `json:"id"`
	Details  string        `json:"submissionDetailsPageUrl"`
	Platform expo.Platform `json:"platform"`
	Status   expo.Status   `json:"status"`
	Info     Info          `json:"submissionInfo"`
}

Jump to

Keyboard shortcuts

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