* Allow 15 seconds to shut down
v2.0.0 and above crashes with message "Error during shutdowncontext deadline exceeded" and exit code 1
upon SIGINT being received.
v1.2.1 seems to be unaffected.
* Add bats test
* Reduce to 10 seconds, define directly
Co-Authored-By: andytson-inviqa <andytson-inviqa@users.noreply.github.com>
* style: gofmt -s
* chore: bump golang to 1.17 and fix golangci
Co-authored-by: andytson-inviqa <andytson-inviqa@users.noreply.github.com>
Co-authored-by: Enrico Stahn <enrico.stahn@gmail.com>
* chore: replace gometalinter with golangci
gometalinter is deprecated and replaced by golangci.
* chore: update go dependencies
* chore: fix lint errcheck reports
golangci-lint reported multiple errcheck issues, e.g.
```
Error return value of `p.Update` is not checked (errcheck)
```
* chore: GitHub actions replaces CircleCI