1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-01-06 09:15:37 -05:00

first part to move feature interfaces into dedicated directory

This commit is contained in:
Darien Raymond
2018-10-11 20:43:37 +02:00
parent 88387f2d6e
commit b6dc31d3fe
40 changed files with 263 additions and 196 deletions

View File

@@ -5,7 +5,7 @@ import (
"errors"
"strings"
"v2ray.com/core"
"v2ray.com/core/common"
)
type version byte
@@ -48,7 +48,7 @@ func beginWithHTTPMethod(b []byte) error {
}
if len(b) < len(m) {
return core.ErrNoClue
return common.ErrNoClue
}
}
@@ -86,5 +86,5 @@ func SniffHTTP(b []byte) (*SniffHeader, error) {
return sh, nil
}
return nil, core.ErrNoClue
return nil, common.ErrNoClue
}