mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 01:57:12 -05:00
21 lines
461 B
Go
21 lines
461 B
Go
// Package core provides common definitions and functionalities of V2Ray.
|
|
package core
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"github.com/v2ray/v2ray-core/common/platform"
|
|
)
|
|
|
|
var (
|
|
version = "0.10"
|
|
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())
|
|
}
|