Jigsaw-Code / outline-go-tun2socks

Apache License 2.0
231 stars 94 forks source link

feat: accept JSON-formatted Shadowsocks Config #117

Closed jyyi1 closed 1 year ago

jyyi1 commented 1 year ago

A new function shadowsocks.NewClientFromJSON(string) is added, it accepts a Shadowsocks configuration in JSON format. The format should match the ShadowsocksSessionConfig defined in Outline Client.

Related PRs: #108 , #111