diff options
author | polwex <polwex@sortug.com> | 2025-09-17 21:45:18 +0700 |
---|---|---|
committer | polwex <polwex@sortug.com> | 2025-09-17 21:45:18 +0700 |
commit | 985fa2f7c99832cdf3c3351d2273c8fd05402b78 (patch) | |
tree | bc727486a89ad05e588754f8de8b1096400a3d31 /desk/sur/nostrill/comms.hoon | |
parent | f0df4c7297a05bd592d8717b8997284c80fd0500 (diff) |
basic comms working
Diffstat (limited to 'desk/sur/nostrill/comms.hoon')
-rw-r--r-- | desk/sur/nostrill/comms.hoon | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/desk/sur/nostrill/comms.hoon b/desk/sur/nostrill/comms.hoon new file mode 100644 index 0000000..d3dc8e1 --- /dev/null +++ b/desk/sur/nostrill/comms.hoon @@ -0,0 +1,22 @@ +/- sur=nostrill, nsur=nostr, feed=trill-feed, post=trill-post +|% ++$ poke + $% [%req req] + [%res res] + [%dbug *] + == ++$ req + $% [%feed ~] + [%thread id=@da] + [%prof ~] + == ++$ res + $% [%ok p=res-data] + [%ng msg=@t] + == ++$ res-data + $% [%feed =fc:feed] + [%thread p=full-node:post] + [%prof p=user-meta:nsur] + == +-- |