mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-07-26 11:44:22 -04:00
format code
This commit is contained in:
parent
19308037e5
commit
f09d65b2e5
@ -1,6 +1,6 @@
|
||||
package io
|
||||
|
||||
import(
|
||||
import (
|
||||
"errors"
|
||||
)
|
||||
|
||||
@ -56,7 +56,7 @@ func (bSet *VBufferSet) FetchBuffer(minSize int) []byte {
|
||||
return make([]byte, minSize)
|
||||
}
|
||||
select {
|
||||
case buffer = <- byteChan:
|
||||
case buffer = <-byteChan:
|
||||
default:
|
||||
buffer = make([]byte, minSize)
|
||||
}
|
||||
|
@ -1,8 +1,8 @@
|
||||
package tcp
|
||||
|
||||
import (
|
||||
"net"
|
||||
"io"
|
||||
"net"
|
||||
)
|
||||
|
||||
type VFreeConnection struct {
|
||||
|
Loading…
x
Reference in New Issue
Block a user