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-09-29 09:52:34 +00:00
|
|
|
)
|
|
|
|
|
2015-10-13 12:30:37 +00:00
|
|
|
var (
|
|
|
|
version = "0.8"
|
|
|
|
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() {
|
|
|
|
fmt.Printf("V2Ray %s (%s) %s", version, codename, build)
|
|
|
|
fmt.Println()
|
|
|
|
fmt.Println(intro)
|
2015-09-29 09:52:34 +00:00
|
|
|
}
|