Skip to content
This repository has been archived by the owner on Sep 14, 2020. It is now read-only.
/ redis-rpc Public archive

Common lisp RPC client using redis for the pub/sub

Notifications You must be signed in to change notification settings

fisxoj/redis-rpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

redis-rpc

redis-rpc provides a sliphod interface to use redis as an rpc broker. I built it to talk to a node server for rendering javascript templates to a lisp process.

To use it

start

(redis-rpc:start "response_channel")

call

Calls a rpc function through channel, passing args to it.

(redis-rpc:call "request_channel" "function_call"
  (lambda (message) (getf :|content| message))
  4 "banana")

So, if our remote function looks like

(defun function_call (num word)
  (format nil "~d ~as" num word))

Then the lambda should get '4 bananas' back as a response.

About

Common lisp RPC client using redis for the pub/sub

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published