Add EventOnProxyConnectionOver Event

This commit is contained in:
Shelikhoo 2021-12-20 13:23:33 +00:00
parent 91379a42f3
commit d64af31394
No known key found for this signature in database
GPG key ID: C4D5E79D22B25316

View file

@ -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