v2fly/core.go

21 lines
461 B
Go
Raw Normal View History

2015-09-07 10:00:46 +00:00
// Package core provides common definitions and functionalities of V2Ray.
package core
2015-09-16 14:05:59 +00:00
2015-10-13 12:30:37 +00:00
import (
"fmt"
2015-10-15 11:42:26 +00:00
2015-10-15 11:25:57 +00:00
"github.com/v2ray/v2ray-core/common/platform"
2015-09-29 09:52:34 +00:00
)
2015-10-13 12:30:37 +00:00
var (
2015-11-22 16:45:42 +00:00
version = "0.14"
2015-10-13 12:30:37 +00:00
build = "Custom"
codename = "Post Apocalypse"
intro = "A stable and unbreakable connection for everyone."
2015-09-16 14:05:59 +00:00
)
2015-09-29 09:52:34 +00:00
2015-10-13 12:30:37 +00:00
func PrintVersion() {
2015-10-15 11:25:57 +00:00
fmt.Printf("V2Ray %s (%s) %s%s", version, codename, build, platform.LineSeparator())
2015-10-16 10:05:43 +00:00
fmt.Printf("%s%s", intro, platform.LineSeparator())
2015-09-29 09:52:34 +00:00
}