1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-26 03:57:42 -05:00
v2fly/net/vmesshandler.go
2015-09-06 22:10:42 +02:00

18 lines
212 B
Go

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
}