From a6e929541ffffe1bd37064cb0e627ca6be1acd2b Mon Sep 17 00:00:00 2001 From: GrĂ©goire DuchĂȘne Date: Fri, 10 Apr 2020 00:15:21 +0100 Subject: Allow ADDR to be a path to a UNIX socket --- README.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'README.md') 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. -- cgit v1.2.3-70-g09d2