dummy-link

Cocaine

Cocaine Julia Framework

Readme

Cocaine Julia Framework Build Status

This package helps you to write Julia application for PaaS Cocaine.

Installation

Pkg.clone("https://github.com/wildart/Msgpack.jl.git")
Pkg.clone("https://github.com/wildart/Cocaine.jl.git")

Example

This's an example of 'echo' application:

using Cocaine

function echo(req::CocaineRequest, resp::CocaineResponse)
    data = read(req)    
    write(resp, data)
end

binds = Dict{String, Function}({
    "ping" => echo
})
worker(binds)

Note

All data sent to and received from service is msgpacked.

Links

Cocaine PaaS project

Cocaine PaaS server

Cocaine PaaS wiki

Copyright

Licensed under the GPLv3.

First Commit

05/25/2014

Last Touched

almost 7 years ago

Commits

26 commits

Used By: