Chore: update README.md

This commit is contained in:
Dreamacro 2019-03-30 14:20:04 +08:00
parent 2036f8cb7a
commit 744728cb84

View file

@ -38,6 +38,12 @@ Pre-built binaries are available: [release](https://github.com/Dreamacro/clash/r
Requires Go >= 1.12. Requires Go >= 1.12.
Checkout Clash version:
```sh
clash -v
```
## Daemon ## Daemon
Unfortunately, there is no native elegant way to implement golang's daemon. Unfortunately, there is no native elegant way to implement golang's daemon.
@ -143,6 +149,8 @@ Proxy:
# skip-cert-verify: true # skip-cert-verify: true
# host: bing.com # host: bing.com
# path: "/" # path: "/"
# headers:
# custom: value
# vmess # vmess
# cipher support auto/aes-128-gcm/chacha20-poly1305/none # cipher support auto/aes-128-gcm/chacha20-poly1305/none
@ -182,7 +190,7 @@ Proxy Group:
- { name: "fallback-auto", type: fallback, proxies: ["ss1", "ss2", "vmess1"], url: "http://www.gstatic.com/generate_204", interval: 300 } - { name: "fallback-auto", type: fallback, proxies: ["ss1", "ss2", "vmess1"], url: "http://www.gstatic.com/generate_204", interval: 300 }
# load-balance: The request of the same eTLD will be dial on the same proxy. # load-balance: The request of the same eTLD will be dial on the same proxy.
- { name: "load-balance", type: load-balance, proxies: ["ss1", "ss2", "vmess1"] } - { name: "load-balance", type: load-balance, proxies: ["ss1", "ss2", "vmess1"], url: "http://www.gstatic.com/generate_204", interval: 300 }
# select is used for selecting proxy or proxy group # select is used for selecting proxy or proxy group
# you can use RESTful API to switch proxy, is recommended for use in GUI. # you can use RESTful API to switch proxy, is recommended for use in GUI.