MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / server_token_hash

Method server_token_hash

mserver/MasterService/src/service.rs:85–87  ·  view source on GitHub ↗
(&self, server_id: &str)

Source from the content-addressed store, hash-verified

83 .await
84 }
85
86 pub async fn get(&self, server_id: &str) -> Result<Option<DirectoryServerRecord>> {
87 self.directory.get(server_id).await
88 }
89
90 pub async fn set_token_hash(&self, server_id: &str, token_hash: &str) -> Result<()> {

Callers 2

register_serverFunction · 0.45
unregister_serverFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected