直播:后台 JWT 推流、前台画中画;WebRTC 服务与 Nginx WebSocket 代理
Made-with: Cursor
This commit is contained in:
30
server/vendor/github.com/wlynxg/anet/interface.go
generated
vendored
Normal file
30
server/vendor/github.com/wlynxg/anet/interface.go
generated
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
//go:build !android
|
||||
// +build !android
|
||||
|
||||
package anet
|
||||
|
||||
import (
|
||||
"net"
|
||||
)
|
||||
|
||||
// Interfaces returns a list of the system's network interfaces.
|
||||
func Interfaces() ([]net.Interface, error) {
|
||||
return net.Interfaces()
|
||||
}
|
||||
|
||||
// InterfaceAddrs returns a list of the system's unicast interface
|
||||
// addresses.
|
||||
//
|
||||
// The returned list does not identify the associated interface; use
|
||||
// Interfaces and Interface.Addrs for more detail.
|
||||
func InterfaceAddrs() ([]net.Addr, error) {
|
||||
return net.InterfaceAddrs()
|
||||
}
|
||||
|
||||
// InterfaceAddrsByInterface returns a list of the system's unicast
|
||||
// interface addresses by specific interface.
|
||||
func InterfaceAddrsByInterface(ifi *net.Interface) ([]net.Addr, error) {
|
||||
return ifi.Addrs()
|
||||
}
|
||||
|
||||
func SetAndroidVersion(version uint) {}
|
||||
Reference in New Issue
Block a user