From a3d6e29d2a29e6358b0686bb0fc2e3678254b1d6 Mon Sep 17 00:00:00 2001 From: dirkmc Date: Mon, 1 Mar 2021 16:36:38 +0100 Subject: [PATCH] fix: add missing event names (#148) --- events.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/events.go b/events.go index 3be69a76..5b7593dd 100644 --- a/events.go +++ b/events.go @@ -94,8 +94,9 @@ const ( var Events = map[EventCode]string{ Open: "Open", Accept: "Accept", - DataSent: "DataSent", + Restart: "Restart", DataReceived: "DataReceived", + DataSent: "DataSent", Cancel: "Cancel", Error: "Error", CleanupComplete: "CleanupComplete", @@ -106,9 +107,10 @@ var Events = map[EventCode]string{ PauseResponder: "PauseResponder", ResumeResponder: "ResumeResponder", FinishTransfer: "FinishTransfer", - ResponderBeginsFinalization: "ResponderBeginsFinalization", ResponderCompletes: "ResponderCompletes", + ResponderBeginsFinalization: "ResponderBeginsFinalization", BeginFinalizing: "BeginFinalizing", + Disconnected: "Disconnected", Complete: "Complete", CompleteCleanupOnRestart: "CompleteCleanupOnRestart", DataQueued: "DataQueued",