Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Invoker ¶
type Invoker interface {
Invoke(topic string, invocation *OpenFaaSInvocation)
}
Invoker is the Interface used by the OpenFaaS Connector SDK to perform invocations of Lambdas based on a provided topic and message
type OpenFaaSInvocation ¶
type OpenFaaSInvocation struct { ContentType string ContentEncoding string Topic string Message *[]byte }
OpenFaaSInvocation represent an Event Specification used during invocation
func NewInvocation ¶
func NewInvocation(delivery amqp.Delivery) *OpenFaaSInvocation
NewInvocation creates a OpenFaaSInvocation from an amqp.Delivery.
Click to show internal directories.
Click to hide internal directories.