recr0ns / kv

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

KV

[E]Redis wrapper

Installation

  1. Add kv to your list of dependencies in mix.exs:
```elixir
def deps do
  [{:kv, github: "recr0ns/kv"}]
end
```
  1. Ensure kv is started before your application:
```elixir
def application do
  [applications: [:kv]]
end
```
  1. Config sample
```elixir
config :kv, :redis,
  pool_size: 10,
  max_overflow: 5,
  host: '127.0.0.1',
  port: 6379,
  database: 1,
  timeout: 5000
```

About


Languages

Language:Elixir 100.0%