fabric-samples/asset-transfer-events/application-gateway-go
Mark S. Lewis e33943cf4c
Refactor of asset transfer events Go sample for Fabric Gateway (#600)
Split boiler-plate connection code into a separate file since the basic sample already covers this aspect. The `app.go` file now only presents the main application code, making it much easier for readers to view.

Also changed the event replay code to use a different style of reading from the real-time eventing example, demonstrating the use of timeouts while reading events we expect to arrive quickly, and avoiding any possibility of the main application execution hanging indefinitely.

Signed-off-by: Mark S. Lewis <mark_lewis@uk.ibm.com>
2022-01-27 09:39:16 -05:00
..
app.go Refactor of asset transfer events Go sample for Fabric Gateway (#600) 2022-01-27 09:39:16 -05:00
connect.go Refactor of asset transfer events Go sample for Fabric Gateway (#600) 2022-01-27 09:39:16 -05:00
go.mod Refactor of asset transfer events Go sample for Fabric Gateway (#600) 2022-01-27 09:39:16 -05:00
go.sum Refactor of asset transfer events Go sample for Fabric Gateway (#600) 2022-01-27 09:39:16 -05:00