Skip to content

Commit

Permalink
新增图片
Browse files Browse the repository at this point in the history
  • Loading branch information
wu committed Jan 12, 2021
1 parent 53dc697 commit 22e3d20
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# 基于golang 实现的 Shadowsocks 源码解析
# 基于 Golang 实现的 Shadowsocks 源码解析

Binary file added images/proxy.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file added images/tunnel_pro.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ import (
)

func main() {
var flags *Configure

var filePath = flag.String("path", "/etc/shadowsocks/conf.configure.json", "shadowsocks configure file path")
flag.Parse()
flags := loadConfigure(*filePath)

if flags == nil {
if flags = loadConfigure(*filePath); flags == nil {
return
}

Expand Down

0 comments on commit 22e3d20

Please sign in to comment.