thy1016/moongard/style/handler does not have a README file
pub(open) trait DoorHandler {
async fn admit(self : Self, sub : String) -> Bool
async fn dispatch(self : Self, sub : String, req : Json) -> Json
async fn audit(self : Self, e : AuditEvent) -> Unit
}pub(all) struct FlexDoor {
admit_fn : (String) -> Bool
dispatch_fn : (String, Json) -> Json
audit_fn : (AuditEvent) -> Unit
}impl DoorHandler for FlexDoorfn FlexDoor::new(admit_fn~ : (String) -> Bool, dispatch_fn~ : (String, Json) -> Json, audit_fn~ : (AuditEvent) -> Unit) -> FlexDoorfn mount(config~ : GuardConfig, signer~ : &Signer, revocations~ : &RevocationStore, handler~ : &DoorHandler) -> Guard[String, Json, Json]Install
Download zipMoonGard — Guardian 式认证管道框架(access/refresh 双 token 旋转 + 四段分发管线;transport/storage/crypto-free,核心零依赖)