module Totem::RemoteProviders

Overview

Remote provider

Defined in:

totem/remote_providers.cr
totem/remote_providers/etcd.cr
totem/remote_providers/redis.cr

Class Method Summary

Class Method Detail

def self.[](name : String) #

Returns the value for the key given by key.


[View source]
def self.connect(name : String, **options) #

Connect remote provider with options


[View source]
def self.has_key?(key) #

Returns true when key given by key exists, otherwise false.


[View source]
def self.keys #

Returns a new Array with all the keys.


[View source]
def self.register_adapter(name : String, adapter : Adapter.class) #

Registe remote provider with name

Totem::ConfigTypes.register_adapter("redis", Totem::RemoteProvider::Redis)

[View source]