1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-09-25 21:36:13 -04:00

add support for wasm

This commit is contained in:
Darien Raymond 2018-08-27 20:56:49 +02:00
parent 16051587b5
commit 20f10c78b3
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
7 changed files with 19 additions and 2 deletions

View File

@ -1,4 +1,5 @@
// +build !windows
// +build !wasm
package buf

View File

@ -1,3 +1,5 @@
// +build !wasm
package buf
import (

View File

@ -0,0 +1,12 @@
package buf
import (
"io"
"syscall"
)
const useReadv = false
func NewReadVReader(reader io.Reader, rawConn syscall.RawConn) Reader {
panic("not implemented")
}

View File

@ -1,3 +1,5 @@
// +build !wasm
package buf_test
import (

View File

@ -1,5 +1,3 @@
// +build windows
package buf
import (

View File

@ -1,4 +1,5 @@
// +build !windows
// +build !wasm
package domainsocket

View File

@ -1,4 +1,5 @@
// +build !windows
// +build !wasm
package domainsocket