Stop tunnels if they are not needed anymore due to verdict change

This commit is contained in:
Daniel
2022-10-10 11:22:09 +02:00
parent f63df67d23
commit e00131e937
2 changed files with 9 additions and 0 deletions

View File

@@ -162,6 +162,7 @@ type Connection struct { //nolint:maligned // TODO: fix alignment
// connection is using.
TunnelContext interface {
GetExitNodeID() string
StopTunnel() error
}
// Internal is set to true if the connection is attributed as an