abstract class Controller

Included Modules

Direct Known Subclasses

Defined in:

lavinmq/api/controller.cr

Constant Summary

PARSER_LIST = ["application/json"]
RESPONDER_LIST = ["application/json"]

Instance Method Summary

Instance methods inherited from module LavinMQ::API::ManageVhost

vhosts(user : User) vhosts

Instance methods inherited from module LavinMQ::API::ManageAuth

auth_user auth_user

Instance Method Detail

def amqpserver_is_open #

[View source]
def api_server_is_open #

[View source]
def bad_media_type(error) : AC::Error::ContentResponse #

[View source]
def bad_request_return(error) : LavinMQ::Error::CommonResponse #

[View source]
def enable_cors #

[View source]
def forbidden_return(error) : LavinMQ::Error::CommonResponse #

[View source]
def invalid_param(error) : AC::Error::ParameterResponse #

[View source]
def json_mal_formatted(error) : LavinMQ::Error::CommonResponse #

[View source]
def json_serializable_error(error) : LavinMQ::Error::CommonResponse #

[View source]
def not_found(error) : LavinMQ::Error::CommonResponse #

[View source]
def precondition_failed_return(error) : LavinMQ::Error::CommonResponse #

[View source]
def service_unavailable(error) : LavinMQ::Error::CommonResponse #

[View source]
def unauthorized_return(error) : LavinMQ::Error::CommonResponse #

[View source]