mirror of
https://github.com/netbirdio/netbird.git
synced 2026-10-15 01:49:08 +02:00
[client] Merge conntype package into peer
The conntype package held only ConnPriority and its constants and was imported solely by peer. Move it into the peer package as priority.go and drop the conntype. qualifier from conn.go, event.go and worker_ice.go.
This commit is contained in:
@@ -5,7 +5,6 @@ import (
|
||||
|
||||
"github.com/pion/ice/v4"
|
||||
|
||||
"github.com/netbirdio/netbird/client/internal/peer/conntype"
|
||||
"github.com/netbirdio/netbird/route"
|
||||
)
|
||||
|
||||
@@ -35,7 +34,7 @@ type evRemoteCandidate struct {
|
||||
}
|
||||
|
||||
type evICEReady struct {
|
||||
priority conntype.ConnPriority
|
||||
priority ConnPriority
|
||||
info ICEConnInfo
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user