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