mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
Add EventOnProxyConnectionOver Event
This commit is contained in:
parent
91379a42f3
commit
d64af31394
1 changed files with 6 additions and 0 deletions
|
@ -28,6 +28,12 @@ type EventOnSnowflakeConnectionFailed struct {
|
||||||
Error error
|
Error error
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type EventOnProxyConnectionOver struct {
|
||||||
|
SnowflakeEvent
|
||||||
|
InboundTraffic int
|
||||||
|
OutboundTraffic int
|
||||||
|
}
|
||||||
|
|
||||||
type SnowflakeEventReceiver interface {
|
type SnowflakeEventReceiver interface {
|
||||||
// OnNewSnowflakeEvent notify receiver about a new event
|
// OnNewSnowflakeEvent notify receiver about a new event
|
||||||
// This method MUST not block
|
// This method MUST not block
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue