cmdwebhook

package
v3.1.12+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(opts Opts) error

Types

type Data

type Data struct {
	Headers map[string]string `json:"headers"`
	Body    interface{}       `json:"body"`
}

type Opts

type Opts struct {
	cmdintegration.Opts
	Output io.Writer
	Data   Data
}

type Result

type Result struct {
	MutatedObjects rpcdef.MutatedObjects `json:"mutated_objects"`
	Success        bool                  `json:"success"`
	Error          string                `json:"error"`
}

Jump to

Keyboard shortcuts

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