This is an automated email from the ASF dual-hosted git repository.
franztt pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/openserverless-runtimes.git
from ca9f48f Merge pull request #33 from francescotimperi/main
add 49397d2 example hook into exit signal
add 912936f feat: add stop logic to clean up server when client goes down
add 6628331 fix: add os.Exit after hooking signals
new c81e227 Merge pull request #34 from giusdp/cleanup-remote-actions
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
openwhisk/actionProxy.go | 6 ++-
openwhisk/forward_proxy.go | 3 --
openwhisk/initHandler.go | 6 +--
openwhisk/runHandler.go | 2 +-
openwhisk/stopHandler.go | 73 +++++++++++++++++++++++++++++
openwhisk/stopHandler_test.go | 63 +++++++++++++++++++++++++
openwhisk/stopper.go | 105 ++++++++++++++++++++++++++++++++++++++++++
openwhisk/stopper_test.go | 80 ++++++++++++++++++++++++++++++++
openwhisk/util_test.go | 9 ++++
proxy.go | 6 ++-
10 files changed, 343 insertions(+), 10 deletions(-)
create mode 100644 openwhisk/stopHandler.go
create mode 100644 openwhisk/stopHandler_test.go
create mode 100644 openwhisk/stopper.go
create mode 100644 openwhisk/stopper_test.go