module Totem::RemoteProviders
Overview
Remote provider
Defined in:
totem/remote_providers.crtotem/remote_providers/etcd.cr
totem/remote_providers/redis.cr
Class Method Summary
-
.[](name : String)
Returns the value for the key given by key.
-
.connect(name : String, **options)
Connect remote provider with options
-
.has_key?(key)
Returns
true
when key given by key exists, otherwisefalse
. -
.keys
Returns a new
Array
with all the keys. -
.register_adapter(name : String, adapter : Adapter.class)
Registe remote provider with name
Class Method Detail
Registe remote provider with name
Totem::ConfigTypes.register_adapter("redis", Totem::RemoteProvider::Redis)