Documentation
¶
Overview ¶
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0
Index ¶
Constants ¶
View Source
const ( EventSubMessageTypeNotification = "notification" EventSubMessageTypeVerification = "webhook_callback_verification" )
Variables ¶
This section is empty.
Functions ¶
func Fire ¶
func Fire(p TriggerParameters) (string, error)
Fire emits an event using the TriggerParameters defined above.
func ForwardEvent ¶
func ForwardEvent(p ForwardParamters) (*http.Response, error)
func RefireEvent ¶
func RefireEvent(id string, p TriggerParameters) (string, error)
Types ¶
type ForwardParamters ¶
type TriggerParameters ¶
type TriggerParameters struct {
Event string
Transport string
IsAnonymous bool
FromUser string
ToUser string
GiftUser string
Status string
ItemID string
Cost int64
ForwardAddress string
Secret string
Verbose bool
Count int
}
TriggerParameters defines the parameters used to emit an event.
Click to show internal directories.
Click to hide internal directories.