potatonet 0.4.2

PotatoNet is a lightweight microservices framework.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use potatonet::*;

pub struct Echo;

#[service]
impl Echo {
    #[call]
    pub async fn send(&self, msg: String) -> String {
        msg
    }
}