krpc 0.1.0

A asynchronous RPC library(include client and server) which can use easly and communicate by tokio unix/tcp socket
Documentation

krpc

This is a RPC library which include client and server, it has the following characteristics:

  1. support multily thread
  2. use asynchronous communication by tokio
  3. support unix and tcp socket
  4. support client subcribe and server publish
  5. easy to use

server example

client example1

use macro define! to define a new type with some methods, call or subcribe by it's method

client example2

use macro call! to call and subcribe! to subcribe directly