Skip to main content

serve_tonic

Function serve_tonic 

Source
pub async fn serve_tonic<S>(port: u16, state: S) -> Result<()>
where S: RewardApi + Clone + Send + Sync + 'static,
Expand description

Start Tonic gRPC server