mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +00:00
Before when pressing 'ctrl+c' and stopping the go program non of the deferred functions in listen.go were called. A standard procedure for stopping goroutines with context was implemented which shuts down the program gracefully. Logs were added to notify the user that the shutdown was successful. Signed-off-by: Stanislav Jakuschevskij <stas@two-giants.com> |
||
|---|---|---|
| .. | ||
| contract | ||
| parser | ||
| processor | ||
| store | ||
| utils | ||
| app.go | ||
| connect.go | ||
| getAllAssets.go | ||
| go.mod | ||
| go.sum | ||
| listen.go | ||
| transact.go | ||