class LavinMQ::VHostStore

Included Modules

Defined in:

lavinmq/vhost_store.cr

Constant Summary

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

Constructors

Instance Method Summary

Macro Summary

Constructor Detail

def self.new(data_dir : String, users : UserStore, replicator : Replication::Server) #

[View source]

Instance Method Detail

def close #

[View source]
def create(name : String, user : User = @users.default_user, save : Bool = true) #

[View source]
def delete(name) : Nil #

[View source]
def each(&) #
Description copied from module Enumerable({String, LavinMQ::VHost})

Must yield this collection's elements to the block.


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

[View source]

Macro Detail

macro method_missing(call) #

[View source]