Bootstrap geth Rust workspace
This commit is contained in:
commit
26f81ff1ef
73 changed files with 4835 additions and 0 deletions
13
crates/geth-ssh-proxy/src/lib.rs
Normal file
13
crates/geth-ssh-proxy/src/lib.rs
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
use geth_types::{NodeId, ResourceId};
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
#[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize)]
|
||||
pub struct SshProxyTarget {
|
||||
pub resource: ResourceId,
|
||||
pub node: NodeId,
|
||||
}
|
||||
|
||||
#[must_use]
|
||||
pub fn ssh_proxy_roadmap() -> &'static str {
|
||||
"future SSH proxy carries SSH protocol bytes over authorized Iroh streams; SSH is not a geth transport"
|
||||
}
|
||||
Loading…
Reference in a new issue