commit d64af3139496481436f8870f4f43f43dca0d4552 Author: Shelikhoo xiaokangwang@outlook.com Date: Mon Dec 20 13:23:33 2021 +0000
Add EventOnProxyConnectionOver Event --- common/event/interface.go | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/common/event/interface.go b/common/event/interface.go index 697f2b7..b41d7c3 100644 --- a/common/event/interface.go +++ b/common/event/interface.go @@ -28,6 +28,12 @@ type EventOnSnowflakeConnectionFailed struct { Error error }
+type EventOnProxyConnectionOver struct { + SnowflakeEvent + InboundTraffic int + OutboundTraffic int +} + type SnowflakeEventReceiver interface { // OnNewSnowflakeEvent notify receiver about a new event // This method MUST not block
tor-commits@lists.torproject.org