mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-13 22:45:13 +00:00
update vmess format
This commit is contained in:
1 parent
7c20b392d4
commit
1e9b8a2cdd
2 files changed
+12
-3
No files matched your search
@@ -1,9 +1,19 @@
|
||||
package net
|
||||
|
||||
import (
|
||||
"net"
|
||||
)
|
||||
|
||||
type VMessHandler struct {
|
||||
|
||||
}
|
||||
|
||||
func (*VMessHandler) Listen(port uint8) error {
|
||||
listener, err := net.Listen("tcp", ":" + string(port))
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
|
||||
return nil
|
||||
}
|
||||
Reference in new issue
Block a user