mirror of https://github.com/v2ray/v2ray-core
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
461 B
21 lines
461 B
// Package core provides common definitions and functionalities of V2Ray.
|
|
package core
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"github.com/v2ray/v2ray-core/common/platform"
|
|
)
|
|
|
|
var (
|
|
version = "0.11"
|
|
build = "Custom"
|
|
codename = "Post Apocalypse"
|
|
intro = "A stable and unbreakable connection for everyone."
|
|
)
|
|
|
|
func PrintVersion() {
|
|
fmt.Printf("V2Ray %s (%s) %s%s", version, codename, build, platform.LineSeparator())
|
|
fmt.Printf("%s%s", intro, platform.LineSeparator())
|
|
}
|