Print version

This commit is contained in:
Jason Lee
2016-11-23 10:23:28 +08:00
parent 365ab6fb9d
commit d1d5cb68fb
2 changed files with 2 additions and 0 deletions

View File

@@ -12,6 +12,7 @@ import (
)
const (
VERSION = "0.1.1"
SOCKS_PORT = 7657
RULE_REJECT = 0
RULE_DIRECT = 1

View File

@@ -276,5 +276,6 @@ func run(listenAddr string) {
func main() {
ss.SetDebug(true)
log.Println("Floar", flora.VERSION)
run("0.0.0.0:" + fmt.Sprintf("%d", flora.SOCKS_PORT))
}