diff options
Diffstat (limited to 'src/state.rs')
| -rw-r--r-- | src/state.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/state.rs b/src/state.rs index 1ea5aae..c51446f 100644 --- a/src/state.rs +++ b/src/state.rs @@ -599,6 +599,9 @@ pub(crate) struct AppState { pub(crate) electorate_window: Duration, /// Chunked transfers served and fetched (`swarm::blob`). pub(crate) blobs: Arc<crate::swarm::blob::Blobs>, + /// HTTP API users who may write protocol data through the store API + /// (`--protocol-writers`). + pub(crate) protocol_writers: Arc<std::collections::HashSet<String>>, /// The effective configuration with sources, imported values left out /// (`config::Loaded::report`), for `GET /admin/config`. pub(crate) config: Arc<serde_json::Value>, |
