class LavinMQ::HTTP::MainController

Included Modules

Defined in:

lavinmq/http/controller/main.cr

Constant Summary

CHURN_STATS = {"connection_created", "connection_closed", "channel_created", "channel_closed", "queue_declared", "queue_deleted"}
EXCHANGE_TYPES = {"direct", "fanout", "topic", "headers", "x-federation-upstream", "x-consistent-hash"}
Log = LavinMQ::Log.for("http.main")
OVERVIEW_STATS = {"ack", "deliver", "get", "deliver_get", "publish", "confirm", "redeliver", "reject"}

Instance methods inherited from module LavinMQ::HTTP::StatsHelpers

add_logs!(logs_a, logs_b) add_logs!

Instance methods inherited from class LavinMQ::HTTP::Controller

vhosts(user : User) vhosts

Constructor methods inherited from class LavinMQ::HTTP::Controller

new(amqp_server : LavinMQ::Server) new

Instance methods inherited from module LavinMQ::HTTP::Router

call(context) call, delete(path : String, &block : Action) delete, find_route(method, path) find_route, get(path : String, &block : Action) get, head(path : String, &block : Action) head, options(path : String, &block : Action) options, patch(path : String, &block : Action) patch, post(path : String, &block : Action) post, put(path : String, &block : Action) put