feat: abstract commander
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
@@ -64,6 +64,16 @@ impl Graph for Server {
|
||||
roots: vec!["kjuulh".into()],
|
||||
}))
|
||||
}
|
||||
|
||||
async fn create_section(
|
||||
&self,
|
||||
request: tonic::Request<CreateSectionRequest>,
|
||||
) -> std::result::Result<tonic::Response<CreateSectionResponse>, tonic::Status> {
|
||||
let req = request.into_inner();
|
||||
tracing::trace!("create section: req({:?})", req);
|
||||
|
||||
Ok(Response::new(CreateSectionResponse {}))
|
||||
}
|
||||
}
|
||||
|
||||
pub trait ServerExt {
|
||||
|
Reference in New Issue
Block a user