Expander
A library to expand/unshorten urls with unified cache store.
Synopsis
Expander aims to help you:
- Expand short urls
- Experiment with different key/value cache store backends for the shortened urls
- Allow end-users of your library liberty to choose their preferred backend
Status
| :thumbsup: | Continuous Integration | Test Coverage |
|---|---|---|
| Master | ||
| Development |
Cache Adapters
Expander supports the following cache adapters. Below is the list of the adapters currently included:
Provider | Expander adapter | Dependancy :----------| :-------------------------------| :---------- Local | Expander.Cache.Adapter.Local | Redis | Expander.Cache.Adapter.Redix | {:redix, ">= 0.0.0"} Memcache | Expander.Cache.Adapter.Memcache | {:memcachex, ">= 0.0.0"}
Installation
If available in Hex, the package can be installed
by adding expander to your list of dependencies in mix.exs:
def deps do
[{:expander, "~> 0.0.1"}]
endDocumentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/expander.