class LavinMQ::ParameterStore(T)

Included Modules

Defined in:

lavinmq/parameter_store.cr

Constant Summary

Log = ::Log.for("parameterstore")

Constructors

Macro Summary

Instance Method Summary

Constructor Detail

def self.new(data_dir : String, file_name : String, replicator : Clustering::Replicator, vhost : String | Nil = nil) #

[View source]

Macro Detail

macro method_missing(call) #

[View source]

Instance Method Detail

def apply(parameter : Parameter | Nil = nil, &) #

[View source]
def create(parameter : T, save = true) #

[View source]
def delete(id, save = true) : T | Nil #

[View source]
def each(&) #
Description copied from module Enumerable({String | {String?, String} | Nil, T})

Must yield this collection's elements to the block.


[View source]
def to_json(json : JSON::Builder) #

[View source]