https://github.com/ananthakumaran/memcachex
Memcached client for Elixir
https://github.com/ananthakumaran/memcachex
elixir memcache
Last synced: about 1 month ago
JSON representation
Memcached client for Elixir
- Host: GitHub
- URL: https://github.com/ananthakumaran/memcachex
- Owner: ananthakumaran
- License: mit
- Created: 2014-02-24T16:46:07.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2025-01-01T08:04:18.000Z (about 1 year ago)
- Last Synced: 2025-04-10T01:09:37.987Z (10 months ago)
- Topics: elixir, memcache
- Language: Elixir
- Homepage: https://hexdocs.pm/memcachex
- Size: 193 KB
- Stars: 40
- Watchers: 2
- Forks: 21
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Memcache
[](https://github.com/ananthakumaran/memcachex/actions/workflows/ci.yml)
[](https://hex.pm/packages/memcachex)
[](https://hexdocs.pm/memcachex/)
[](https://hex.pm/packages/memcachex)
[](https://github.com/ananthakumaran/memcachex/blob/master/LICENSE)
[](https://github.com/ananthakumaran/memcachex/commits/master)
Memcached client for Elixir.
## Installation
```elixir
defp deps() do
[
{:memcachex, "~> 0.5"}
]
end
```
## Overview
Memcachex comes with two kinds of API, a high level one named
`Memcache` which provides functions to perform most of the common
usecases and a low level one named `Memcache.Connection` which
provides a less restrictive API. See the
[documentation](https://hexdocs.pm/memcachex) for more information
## Examples
```elixir
{:ok, pid} = Memcache.start_link()
{:ok} = Memcache.set(pid, "hello", "world")
{:ok, "world"} = Memcache.get(pid, "hello")
```
See [test folder](https://github.com/ananthakumaran/memcachex/tree/master/test) for further examples.
## Copyright and License
Copyright (c) 2014 Anantha Kumaran
This software is licensed under [the MIT license](./LICENSE.md).