diff options
| author | Grégoire Duchêne <gduchene@awhk.org> | 2020-04-10 00:23:26 +0100 |
|---|---|---|
| committer | Grégoire Duchêne <gduchene@awhk.org> | 2020-04-10 00:23:26 +0100 |
| commit | c2fb89eeb14bb710aac2c88cf16e3ce8aa468dee (patch) | |
| tree | 7ecc2d1626244b2fdbd88eff66d84be364c6b025 /README.md | |
| parent | a6e929541ffffe1bd37064cb0e627ca6be1acd2b (diff) | |
Merge ADDR and PORT
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 12 |
1 files changed, 4 insertions, 8 deletions
@@ -11,13 +11,9 @@ You need to set up the following environment variables for it to work: e.g. `golang.org/x/` for `golang.org/x/image`, and * `VCS` for the type of VCS you are using, e.g. `git`. -Additionally, the version under `gcp/` will use: - -* `ADDR` for the address to listen on, defaulting to every address, and -* `PORT` for the port to listen on, defaulting to 8080. - -See https://golang.org/pkg/net/#Dial for details of the address format. +Additionally, the version under `gcp/` will use `ADDR` for the address +to listen on, defaulting to every address on port 8080. See +https://golang.org/pkg/net/#Dial for details of the address format. If `ADDR` is set and starts with `/`, go-import-redirect will treat it -as the path of a UNIX socket to create and listen on. `PORT` is also -ignored. +as the path of a UNIX socket to create and listen on. |
