mirror of
https://github.com/e1732a364fed/v2ray_simple.git
synced 2025-10-06 17:27:05 +08:00
修订代码, 实现trojan协议
This commit is contained in:
@@ -17,6 +17,11 @@ func init() {
|
||||
rand.Seed(time.Now().Unix())
|
||||
}
|
||||
|
||||
type ByteReader interface {
|
||||
ReadByte() (byte, error)
|
||||
Read(p []byte) (n int, err error)
|
||||
}
|
||||
|
||||
func IsFlagPassed(name string) bool {
|
||||
found := false
|
||||
flag.Visit(func(f *flag.Flag) {
|
||||
|
Reference in New Issue
Block a user