v2ray-core/net/vmess/vmess.go

18 lines
207 B
Go

package vemss
import (
"net"
)
type VMessHandler struct {
}
func (*VMessHandler) Listen(port uint8) error {
_, err := net.Listen("tcp", ":"+string(port))
if err != nil {
return err
}
return nil
}