diff options
author | networkException <git@nwex.de> | 2023-09-29 18:37:36 +0200 |
---|---|---|
committer | networkException <git@nwex.de> | 2023-09-29 18:37:36 +0200 |
commit | 10195f1567e82a630e808bc2700424bce28238c0 (patch) | |
tree | 8b548337204a94aa7439e7fdff223c2933f93b49 /src/util/lib.rs | |
parent | 6086a3fa072571c9f2a9903175a9ca36ee497f0d (diff) | |
download | garage-10195f1567e82a630e808bc2700424bce28238c0.tar.gz garage-10195f1567e82a630e808bc2700424bce28238c0.zip |
util: add helper sum type for unix and tcp socket addresses
this patch introduces a new sum type that can represent either a
tcp socket address or a unix domain socket path.
Diffstat (limited to 'src/util/lib.rs')
-rw-r--r-- | src/util/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/lib.rs b/src/util/lib.rs index 15f0f829..7df77959 100644 --- a/src/util/lib.rs +++ b/src/util/lib.rs @@ -14,6 +14,7 @@ pub mod forwarded_headers; pub mod metrics; pub mod migrate; pub mod persister; +pub mod socket_address; pub mod time; pub mod tranquilizer; pub mod version; |