1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-15 08:46:34 -05:00
v2fly/core.go

21 lines
461 B
Go
Raw Normal View History

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