checkawsintegrationcompleted

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 14, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	Name    string  `json:"name"`
	Payload Payload `json:"payload"`
}

Event for CheckAwsIntegrationCompleted

func New

func New(requestID string, status Status) Event

New - constructor for creating CheckAwsIntegrationCompleted event

type Payload

type Payload struct {
	Status    Status `json:"status"`
	RequestID string `json:"requestId"`
}

Payload of the event

type Status

type Status int

Status - SUCCESS or FAIL

const (
	SUCCESS Status = iota // SUCCESS == 0
	FAIL                  // FAIL == 1
)

Status iota

Jump to

Keyboard shortcuts

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