webhook

package
v0.0.0-...-731fd49 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RequestPayload

type RequestPayload struct {
	ObjectKind       string                         `json:"object_kind"`
	ObjectAttributes RequestPayloadObjectAttributes `json:"object_attributes"`
}

type RequestPayloadObjectAttributes

type RequestPayloadObjectAttributes struct {
	Id     int    `json:"id"`
	Iid    int    `json:"iid"`
	Status string `json:"status"`
	URL    string `json:"url"`
}

type Server

type Server struct {
	SecretToken string
}

func (*Server) HandleReceive

func (s *Server) HandleReceive(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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