commitdev/zero-backend-go

Add Memcached support

bmonkman opened this issue · 0 comments

In the case where the user chose to enable Memcached caching, add some example code similar to db.TestConnection() to test the connection to the Memcached server.
The hostname and port are exposed to the service through the environment variables CACHE_ENDPOINT and CACHE_PORT.
Probably using https://github.com/bradfitz/gomemcache