diff options
| author | Grégoire Duchêne <gduchene@awhk.org> | 2020-04-10 00:15:21 +0100 |
|---|---|---|
| committer | Grégoire Duchêne <gduchene@awhk.org> | 2020-04-10 00:15:21 +0100 |
| commit | a6e929541ffffe1bd37064cb0e627ca6be1acd2b (patch) | |
| tree | 23041219f660682dab584e26c57128fe72e15a5d /README.md | |
| parent | da551b44ed82081ca6f31b841e8ebfe6dbcbac88 (diff) | |
Allow ADDR to be a path to a UNIX socket
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -17,3 +17,7 @@ Additionally, the version under `gcp/` will use: * `PORT` for the port to listen on, defaulting to 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. |
