core.go 366 B

12345678910111213141516171819
  1. // Package core provides common definitions and functionalities of V2Ray.
  2. package core
  3. import (
  4. "fmt"
  5. )
  6. var (
  7. version = "0.8"
  8. build = "Custom"
  9. codename = "Post Apocalypse"
  10. intro = "A stable and unbreakable connection for everyone."
  11. )
  12. func PrintVersion() {
  13. fmt.Printf("V2Ray %s (%s) %s", version, codename, build)
  14. fmt.Println()
  15. fmt.Println(intro)
  16. }