mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
middleware
This commit is contained in:
committed by
Aiden McClelland
parent
b807323fa4
commit
01ed3318cb
@@ -29,6 +29,7 @@ pub mod id;
|
||||
pub mod inspect;
|
||||
pub mod install;
|
||||
pub mod manager;
|
||||
pub mod middleware;
|
||||
pub mod migration;
|
||||
pub mod net;
|
||||
pub mod registry;
|
||||
@@ -45,7 +46,7 @@ use rpc_toolkit::command;
|
||||
use rpc_toolkit::yajrc::RpcError;
|
||||
pub use version::{init, self_update};
|
||||
|
||||
#[command]
|
||||
#[command(metadata(authenticated = false))]
|
||||
pub fn echo(#[context] _ctx: EitherContext, #[arg] message: String) -> Result<String, RpcError> {
|
||||
Ok(message)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user