1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-09-25 21:36:13 -04:00
This commit is contained in:
Claire Raymond 2015-10-15 11:25:57 +00:00
parent 9071b3ea10
commit c592d9c246
2 changed files with 5 additions and 5 deletions

View File

@ -5,8 +5,7 @@ import (
"github.com/v2ray/v2ray-core/transport/ray"
)
// PacketDispatcher dispatch a packet and possibly further network payload to
// its destination.
// PacketDispatcher dispatch a packet and possibly further network payload to its destination.
type PacketDispatcher interface {
DispatchToOutbound(packet v2net.Packet) ray.InboundRay
}

View File

@ -3,6 +3,8 @@ package core
import (
"fmt"
"github.com/v2ray/v2ray-core/common/platform"
)
var (
@ -13,7 +15,6 @@ var (
)
func PrintVersion() {
fmt.Printf("V2Ray %s (%s) %s", version, codename, build)
fmt.Println()
fmt.Println(intro)
fmt.Printf("V2Ray %s (%s) %s%s", version, codename, build, platform.LineSeparator())
fmt.Print("%s%s", intro, platform.LineSeparator())
}