Skip to content

syncrypt/ex_riak_cs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ExRiakCs

ExRiakCs - simple elixir wrapper for Riak CS API

NOTE: not all riak cs api methods are available but new methods can be easily added (read Contributing section).

Installation

The package can be installed as:

Add ex_riak_cs to your list of dependencies in mix.exs:

def deps do
  [{:ex_riak_cs, "~> 0.1.1"}]
end

Documentation

https://hexdocs.pm/ex_riak_cs/api-reference.html

Contributing

Start by forking this repo

Pull requests are greatly appreciated

New methods can be easily added. For example, if you want to add the GET Object method, you should send get request using request method from Request module, passing path to your object and then pattern match the result

def get(bucket, key) do
  path = "/#{bucket}/#{key}"
  case Request.request(:get, path) do
    ...
  end
end

About

Riak CS API wrapper for Elixir

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Elixir 100.0%