http

package
v0.0.0-...-3d09e97 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2023 License: MIT Imports: 10 Imported by: 0

README

rest API

Get Webhooks

URL: /v1/webhooks

Method: GET

Find Webhook by ID

URL: /v1/webhook/:id

Method: GET

Send Webhook

URL: /v1/webhook/send

Method: POST

Name Data Type Description Required
url string URI
headers map[string]string HTTP headers
body string HTTP body
retry uint Maximum of retries

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	*mux.Router
	shared.WebhookServer
}

func NewServer

func NewServer(ws shared.WebhookServer) *Server

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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