In memory store. Should have been here from the beginning.

This commit is contained in:
Asim
2015-03-06 19:08:55 +00:00
parent 87e2edbeb5
commit 5372f3a009
3 changed files with 64 additions and 0 deletions

View File

@@ -33,6 +33,8 @@ func Init() {
switch flagStore {
case "memcached":
store.DefaultStore = store.NewMemcacheStore()
case "memory":
store.DefaultStore = store.NewMemoryStore()
case "etcd":
store.DefaultStore = store.NewEtcdStore()
}