summaryrefslogtreecommitdiffhomepage
path: root/go.mod
diff options
context:
space:
mode:
authorMatthew Holt <[email protected]>2021-03-30 14:15:20 -0600
committerMatthew Holt <[email protected]>2021-03-30 14:15:20 -0600
commitaac1ccf12d0076ce7ae2b67ed9cbdf55dc99e14e (patch)
tree5ea606d8e769dcd70df1491deb063ea811497381 /go.mod
parentf35a7fa466ffb06c38dcb3216e30c13aa8e14ce5 (diff)
downloadcaddy-aac1ccf12d0076ce7ae2b67ed9cbdf55dc99e14e.tar.gz
caddy-aac1ccf12d0076ce7ae2b67ed9cbdf55dc99e14e.zip
caddy: Add InstanceID() method
Caddy can now generate and persist its own instance ID, a UUID that is stored in the data directory. This makes it possible to differentiate it from other instances in a cluster.
Diffstat (limited to 'go.mod')
-rw-r--r--go.mod1
1 files changed, 1 insertions, 0 deletions
diff --git a/go.mod b/go.mod
index 4e462abaf..a1e842ea1 100644
--- a/go.mod
+++ b/go.mod
@@ -10,6 +10,7 @@ require (
github.com/dustin/go-humanize v1.0.1-0.20200219035652-afde56e7acac
github.com/go-chi/chi v4.1.2+incompatible
github.com/google/cel-go v0.6.0
+ github.com/google/uuid v1.2.0
github.com/klauspost/compress v1.11.3
github.com/klauspost/cpuid/v2 v2.0.1
github.com/lucas-clemente/quic-go v0.19.3