Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
  • Loading branch information
alexellis committed Aug 10, 2022
1 parent 7fb4b0f commit b648cd8
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion cmd/tester/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,23 @@
## tester example

Test and emit to the "payment.received" topic

```sh
go build
export PASSWORD="Your gateway password"
./tester \
-username=admin \
-password=$PASSWORD
```

Emit a custom topic:

```sh
go build
export PASSWORD="Your gateway password"
./tester -username=admin -password=$PASSWORD

./tester \
-username=admin \
-password=$PASSWORD \
-topic "custom/topic/1"
```

0 comments on commit b648cd8

Please sign in to comment.