struct NATS::JetStream::StreamSourceInfo

Defined in:

jetstream/stream_source_info.cr

Constructors

Instance Method Summary

Constructor methods inherited from struct NATS::JetStream::Entity

new(pull : JSON::PullParser) new

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(name : String, external : NATS::JetStream::ExternalStream | Nil = nil, lag : Time::Span = 0.seconds, active : Time::Span = 0.seconds, error : NATS::JetStream::APIError | Nil = nil) #

[View source]

Instance Method Detail

def active : Time::Span #

[View source]
def error : APIError | Nil #

[View source]
def external : ExternalStream | Nil #

[View source]
def lag : Time::Span #

[View source]
def name : String #

[View source]