struct NATS::JetStream::API::V1::StreamSourceInfo

Defined in:

jetstream.cr

Constructors

Instance Method Summary

Constructor methods inherited from struct NATS::JetStream::API::Message

new(pull : JSON::PullParser) new

Constructor Detail

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

[View source]
def self.new(name : String, external : NATS::JetStream::API::V1::ExternalStream | Nil = nil, lag : Time::Span = 0.seconds, active : Time::Span = 0.seconds, error : NATS::JetStream::API::V1::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]