class StatusController
- StatusController
- Controller
- ActionController::Base
- Reference
- Object
Defined in:
lavinmq/api/controllers/status.crConstant 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"}
-
OVERVIEW_STATS =
{"ack", "deliver", "get", "publish", "confirm", "redeliver", "reject"}
-
PARSER_LIST =
["application/json"]
-
RESPONDER_LIST =
["application/json"]
Class Method Summary
-
.base_route
Helper for obtaining base route
-
.index(hash_parts : Hash(String | Symbol, Nil | Bool | Int32 | Int64 | Float32 | Float64 | String | Symbol) | Nil = nil, **tuple_parts)
Helper methods for performing redirect_to calls
Instance Method Summary
-
#base_route(*args, **options)
Helper for obtaining base route
-
#base_route(*args, **options, &)
Helper for obtaining base route
- #index : Overview
Instance methods inherited from class Controller
amqpserver_is_open
amqpserver_is_open,
api_server_is_open
api_server_is_open,
bad_media_type(error) : AC::Error::ContentResponse
bad_media_type,
bad_request_return(error) : LavinMQ::Error::CommonResponse
bad_request_return,
enable_cors
enable_cors,
forbidden_return(error) : LavinMQ::Error::CommonResponse
forbidden_return,
invalid_param(error) : AC::Error::ParameterResponse
invalid_param,
json_mal_formatted(error) : LavinMQ::Error::CommonResponse
json_mal_formatted,
json_serializable_error(error) : LavinMQ::Error::CommonResponse
json_serializable_error,
not_found(error) : LavinMQ::Error::CommonResponse
not_found,
precondition_failed_return(error) : LavinMQ::Error::CommonResponse
precondition_failed_return,
service_unavailable(error) : LavinMQ::Error::CommonResponse
service_unavailable,
unauthorized_return(error) : LavinMQ::Error::CommonResponse
unauthorized_return
Instance methods inherited from module LavinMQ::API::ManageVhost
vhosts(user : User)
vhosts
Instance methods inherited from module LavinMQ::API::ManageAuth
auth_user
auth_user
Class Method Detail
def self.index(hash_parts : Hash(String | Symbol, Nil | Bool | Int32 | Int64 | Float32 | Float64 | String | Symbol) | Nil = nil, **tuple_parts)
#
Helper methods for performing redirect_to calls