M README.md => README.md +4 -4
@@ 21,7 21,7 @@ And nothing else.
## Installing
```bash
-go get egt.run/pkg/srp/cmd/srp
+go get egt.run/srp/cmd/srp
```
Then run `srp -h` for usage help.
@@ 70,9 70,9 @@ SRP will try that same request again using a different backend (3 tries max).
## API
SRP includes a simple API to retrieve each services' healthy backends. Combined
-with something like egt.run/pkg/lanhttp, the API enables your apps to
-communicate over an internal network, rather than through the public internet,
-without re-configuring your servers or modifying DNS.
+with something like egt.run/lanhttp, the API enables your apps to communicate
+over an internal network, rather than through the public internet, without
+re-configuring your servers or modifying DNS.
By default the API is disabled. When configured with `Subnet`, the API responds
to `/services` over the appropriate subnet with JSON resembling the following:
M cmd/srp/main.go => cmd/srp/main.go +1 -1
@@ 16,7 16,7 @@ import (
"syscall"
"time"
- "egt.run/pkg/srp"
+ "egt.run/srp"
"golang.org/x/crypto/acme/autocert"
)
M go.mod => go.mod +1 -1
@@ 1,4 1,4 @@
-module egt.run/pkg/srp
+module egt.run/srp
go 1.13