Skip to content

Commit b436663

Browse files
committed
exclude webrtc and websocket from compilation as well
1 parent d6d445f commit b436663

File tree

18 files changed

+54
-0
lines changed

18 files changed

+54
-0
lines changed

p2p/transport/webrtc/fingerprint.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
//go:build !js
2+
// +build !js
3+
14
package libp2pwebrtc
25

36
import (

p2p/transport/webrtc/hex_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
//go:build !js
2+
// +build !js
3+
14
package libp2pwebrtc
25

36
import (

p2p/transport/webrtc/logger.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
//go:build !js
2+
// +build !js
3+
14
package libp2pwebrtc
25

36
import (

p2p/transport/webrtc/sdp.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
//go:build !js
2+
// +build !js
3+
14
package libp2pwebrtc
25

36
import (

p2p/transport/webrtc/sdp_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
//go:build !js
2+
// +build !js
3+
14
package libp2pwebrtc
25

36
import (

p2p/transport/webrtc/stream.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
//go:build !js
2+
// +build !js
3+
14
package libp2pwebrtc
25

36
import (

p2p/transport/webrtc/stream_read.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
//go:build !js
2+
// +build !js
3+
14
package libp2pwebrtc
25

36
import (

p2p/transport/webrtc/stream_write.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
//go:build !js
2+
// +build !js
3+
14
package libp2pwebrtc
25

36
import (

p2p/transport/webrtc/udpmux/mux.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
//go:build !js
2+
// +build !js
3+
14
// The udpmux package contains the logic for multiplexing multiple WebRTC (ICE)
25
// connections over a single UDP socket.
36
package udpmux

p2p/transport/webrtc/udpmux/mux_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
//go:build !js
2+
// +build !js
3+
14
package udpmux
25

36
import (

0 commit comments

Comments
 (0)