mirror of https://github.com/v2ray/v2ray-core
format code
parent
530f749aa3
commit
a45498da45
|
@ -19,7 +19,6 @@ type JsonVConfig struct {
|
|||
}
|
||||
|
||||
type JsonVConfigUnmarshaller struct {
|
||||
|
||||
}
|
||||
|
||||
func StringToVUser(id string) (u core.VUser, err error) {
|
||||
|
|
|
@ -5,15 +5,13 @@ import (
|
|||
)
|
||||
|
||||
type VMessHandler struct {
|
||||
|
||||
}
|
||||
|
||||
func (*VMessHandler) Listen(port uint8) error {
|
||||
listener, err := net.Listen("tcp", ":" + string(port))
|
||||
listener, err := net.Listen("tcp", ":"+string(port))
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue