blob: a61d782919b99146a838dedaa5352f7db9f99733 (
plain) (
tree)
|
|
use tonic::async_trait;
use crate::proto::{Build, BuildRequest};
mod dummy;
mod from_addr;
mod grpc;
pub use dummy::DummyBuildService;
pub use from_addr::from_addr;
#[async_trait]
pub trait BuildService: Send + Sync {
/// TODO: document
async fn do_build(&self, request: BuildRequest) -> std::io::Result<Build>;
}
|