build

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: 14 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 Metadata

type Metadata struct {
	AppName                   string `json:"appName"`
	expo.BuildVersionMetadata `json:",inline"`
}

type WebhookPayload

type WebhookPayload struct {
	Id        string        `json:"id"`
	AppId     string        `json:"appId"`
	Details   string        `json:"buildDetailsPageUrl"`
	Platform  expo.Platform `json:"platform"`
	Status    expo.Status   `json:"status"`
	Metadata  Metadata      `json:"metadata"`
	Error     expo.Error    `json:"error"`
	CreatedAt string        `json:"createdAt"`
}

Jump to

Keyboard shortcuts

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