mirror of
https://github.com/netbirdio/netbird.git
synced 2024-11-22 16:13:31 +01:00
bc3d647d6b
Update Pion related versions to the latest --------- Co-authored-by: Yury Gargay <yury.gargay@gmail.com>
15 lines
373 B
Go
15 lines
373 B
Go
package stdnet
|
|
|
|
import "github.com/pion/transport/v3"
|
|
|
|
// ExternalIFaceDiscover provide an option for external services (mobile)
|
|
// to collect network interface information
|
|
type ExternalIFaceDiscover interface {
|
|
// IFaces return with the description of the interfaces
|
|
IFaces() (string, error)
|
|
}
|
|
|
|
type iFaceDiscover interface {
|
|
iFaces() ([]*transport.Interface, error)
|
|
}
|