Commit 6491e57d authored by Kaiden Fey's avatar Kaiden Fey Committed by Katharina Fey

services/ping: init with basic code

parent d71dfce3
name = "ping"
description = "A test service, demonstrating how to use libqaul, and the qrpc-sdk."
version = "0.1.0"
authors = ["Katharina Fey <>"]
edition = "2018"
qrpc-sdk = { path = "../../rpc-layer/qrpc-sdk", version = "0.1" }
\ No newline at end of file
//! A simple ping service for
//! This service isn't actually included in the application
//! bundle. It mainly serves as a demonstration on how to write
//! services for libqaul. This means that this code should be
//! considered documentation. If you find anything that is unclear to
//! you, or could be commented better, please send us a patch (or MR).
use qrpc_sdk::{RpcSocket, Service, default_socket_path};
struct Ping {
inner: Service,
fn main() {
let ping = Ping {
inner: Service::new(
"A simple service that says hello to everybody on the network.",
let sock = RpcSocket::new(default_socket_path());
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment