aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorGrégoire Duchêne <gduchene@awhk.org>2020-04-10 00:15:21 +0100
committerGrégoire Duchêne <gduchene@awhk.org>2020-04-10 00:15:21 +0100
commita6e929541ffffe1bd37064cb0e627ca6be1acd2b (patch)
tree23041219f660682dab584e26c57128fe72e15a5d /README.md
parentda551b44ed82081ca6f31b841e8ebfe6dbcbac88 (diff)
Allow ADDR to be a path to a UNIX socket
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index ca9464e..6c97d53 100644
--- a/README.md
+++ b/README.md
@@ -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.