remove resolver wrapper; use std mutex
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
be2d1c722b
commit
7658387a74
5 changed files with 47 additions and 20 deletions
|
@ -196,8 +196,6 @@ impl Service {
|
|||
|
||||
pub fn dns_resolver(&self) -> &TokioAsyncResolver { &self.resolver.resolver }
|
||||
|
||||
pub fn actual_destinations(&self) -> &Arc<RwLock<resolver::WellKnownMap>> { &self.resolver.destinations }
|
||||
|
||||
pub fn jwt_decoding_key(&self) -> Option<&jsonwebtoken::DecodingKey> { self.jwt_decoding_key.as_ref() }
|
||||
|
||||
pub fn turn_password(&self) -> &String { &self.config.turn_password }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue