class NATS::Service::Group

Overview

The Group represents a cohesive group of endpoints. Groups are useful for applying a common prefix to subjects or setting a common queue group.

Defined in:

services.cr

Instance Method Summary

Instance Method Detail

def add_endpoint(name : String, *, subject : String = name, queue_group : String = "q", &block : Message -> ) : Endpoint #

[View source]
def add_group(name : String, &) #

[View source]
def add_group(name : String) #

[View source]
def name : String #

[View source]
def service : Service #

[View source]