From f91b3ab1e90e8f0c3a36422811bb4609abe18fe8 Mon Sep 17 00:00:00 2001 From: nange Date: Tue, 25 Feb 2020 12:56:35 +0800 Subject: [PATCH] *: bump version 1.1 --- README.md | 3 +-- easyss.go | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index bc18611e..0da153a2 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,6 @@ v1.0 ### TODO -* 添加UDP转发支持 * 支持手机端 @@ -54,7 +53,7 @@ go get github.com/nange/easyss/cmd/remote-server copy本项目中的config.json文件和上面下载的二进制文件放同一目录. 打开config.json文件, 修改里面对应的项: -* server: 服务器ip或者域名(必填) +* server: 服务器域名(必填) * server_port: 服务器对应端口(必填) * local_port: 本地监听端口(默认1080) * password: 通信加密密钥(必填) diff --git a/easyss.go b/easyss.go index d825a276..270aa5b4 100644 --- a/easyss.go +++ b/easyss.go @@ -14,13 +14,14 @@ import ( "github.com/txthinking/socks5" ) +const version = "1.1" + func init() { log.SetFormatter(&log.JSONFormatter{TimestampFormat: "2006-01-02 15:04:05.000"}) log.SetLevel(log.InfoLevel) } func PrintVersion() { - const version = "1.0" fmt.Println("easyss version", version) }