class NATS::Service::Endpoint

Overview

The Endpoint is the request handler. You generally won't interact with this class directly.

Defined in:

services.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(nats : NATS::Client, service : NATS::Service, name : String, subject : String, queue_group : String, subscription : NATS::Subscription) #

[View source]

Instance Method Detail

def average_processing_time #

[View source]
def last_error : String | Nil #

[View source]
def name : String #

[View source]
def queue_group : String #

[View source]
def service : Service #

[View source]
def subject : String #

[View source]
def subscription : Subscription #

[View source]
def total_errors #

[View source]
def total_processing_time #

[View source]
def total_requests #

[View source]