eventapi

package
v0.0.0-...-b8869b4 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(config Config) sdk.WebHook

New will return an sdk.WebHook

Types

type Config

type Config struct {
	Ctx                   context.Context
	Logger                log.Logger
	Config                sdk.Config
	State                 sdk.State
	CustomerID            string
	RefID                 string
	RefType               string
	IntegrationInstanceID string
	WebHookURL            string
	Pipe                  sdk.Pipe
	Buf                   []byte
	Headers               map[string]string
	Scope                 sdk.WebHookScope
}

Config is details for the configuration

Jump to

Keyboard shortcuts

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