Transit transports for nREPL.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/fastlane
test/fastlane Add transit transports Nov 25, 2018
.gitignore Initial commit Nov 20, 2018
.travis.yml Initial commit Nov 20, 2018
CHANGELOG.md
LICENSE
README.md Release 0.1.0 Nov 29, 2018
project.clj

README.md

fastlane

Transit transports for nREPL.

Motivation

A Transit transport simplifies the lives of people using Clojure/ClojureScript/Java clients for nREPL. We use transit-clj to implement transports to be used with nREPL, it supports transit with message pack, json and json verbose.

Usage

Just add fastlane as a dependency to your project and you can use it as a transport for nREPL.

[nrepl/fastlane "0.1.0"]

The transports are at fastlane.core:

  • transit+msgpack
  • transit+json
  • transit+json-verbose

Afterwards you can start the server like this:

(require
 '[nrepl.server :as server]
 '[fastlane.core :as fastlane])

(server/start-server :port 12345 :transport-fn fastlane/transit+json)

You can also start it via the built-in nREPL CLI:

$ clj -R:nrepl -m nrepl.cmdline -t fastlane.core/transit+json

License

Copyright © 2018 Bozhidar Batsov and nREPL contributors

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.