diff options
author | Matthew Holt <[email protected]> | 2021-03-30 14:15:20 -0600 |
---|---|---|
committer | Matthew Holt <[email protected]> | 2021-03-30 14:15:20 -0600 |
commit | aac1ccf12d0076ce7ae2b67ed9cbdf55dc99e14e (patch) | |
tree | 5ea606d8e769dcd70df1491deb063ea811497381 /go.mod | |
parent | f35a7fa466ffb06c38dcb3216e30c13aa8e14ce5 (diff) | |
download | caddy-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.mod | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |