aboutsummaryrefslogtreecommitdiff
path: root/jsonrpc/examples
diff options
context:
space:
mode:
authorhozan23 <hozan23@karyontech.net>2024-05-28 00:26:59 +0200
committerhozan23 <hozan23@karyontech.net>2024-05-28 00:26:59 +0200
commit9341e695d0e387927804716b60945912cba686dd (patch)
treecd6389124e3295931d621a7a68837bde74ff9d95 /jsonrpc/examples
parent8afb4d30750840f66d9f97c2c54a893d3934c45e (diff)
jsonrpc: move `SubscriptionID` to message.rs
Diffstat (limited to 'jsonrpc/examples')
-rw-r--r--jsonrpc/examples/pubsub_server.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/jsonrpc/examples/pubsub_server.rs b/jsonrpc/examples/pubsub_server.rs
index 4b77c45..bae5b37 100644
--- a/jsonrpc/examples/pubsub_server.rs
+++ b/jsonrpc/examples/pubsub_server.rs
@@ -4,7 +4,9 @@ use serde::{Deserialize, Serialize};
use serde_json::Value;
use karyon_core::async_util::sleep;
-use karyon_jsonrpc::{rpc_impl, rpc_pubsub_impl, ArcChannel, Error, Server, SubscriptionID};
+use karyon_jsonrpc::{
+ message::SubscriptionID, rpc_impl, rpc_pubsub_impl, ArcChannel, Error, Server,
+};
struct Calc {}