package
0.0.0-20240816102716-4f7b1af7814b
Repository: https://github.com/flusflas/connector-sdk.git
Documentation: pkg.go.dev
# README
tester example
Test and emit to the "payment.received" topic
go build
export PASSWORD="Your gateway password"
./tester \
-username=admin \
-password=$PASSWORD
Deploy an example function to be triggered by the topic:
faas-cli store deploy printer --annotation topic=payment.received
Emit a custom topic:
go build
export PASSWORD="Your gateway password"
./tester \
-username=admin \
-password=$PASSWORD \
-topic "custom/topic/1"
Deploy an example function to be triggered by the topic:
faas-cli store deploy printer --annotation topic=custom/topic/1
# Structs
ResponseReceiver enables connector to receive results from the function invocation.