webhook

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: May 23, 2021 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WebHook

type WebHook struct {
	Scenarios []map[string]interface{} `yaml:"scenarios",json:"scenarios"`
	Type      string                   `yaml:"type",json:"type"`
	Method    string                   `yaml:"method",json:"method"`
	Path      string                   `yaml:"path",json:"path"`
}

WebHook

func (*WebHook) Validate

func (w *WebHook) Validate() error

type WebHooker

type WebHooker interface {
	Scenarios() []map[string]interface{}
	Type() string
	Method() string

	validation.Validatable
}

Jump to

Keyboard shortcuts

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