tester

command
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2022 License: MIT Imports: 11 Imported by: 0

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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