mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-15 09:10:08 +00:00
update comments
This commit is contained in:
parent
053c078e11
commit
2e17858a39
@ -109,9 +109,9 @@ impl Gemini {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
/// Get `pem` record match `request`
|
||||
/// Get `Identity` match `request`
|
||||
/// * [Client certificates specification](https://geminiprotocol.net/docs/protocol-specification.gmi#client-certificates)
|
||||
/// * this function work with memory cache collected (not database)
|
||||
/// * this function work with memory cache (not database)
|
||||
pub fn match_priority(&self, request: &str) -> Option<Identity> {
|
||||
if let Some(auth) = self.auth.memory.match_priority(request) {
|
||||
match self.memory.get(auth.profile_identity_gemini_id) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user