struct NATS::Objects::Bucket

Defined in:

objects.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, stream_name : String, client : NATS::Objects::Client) #

[View source]
def self.new(stream : JetStream::Stream, client : Objects::Client) #

[View source]

Instance Method Detail

def get(key : String) #

[View source]
def get!(key : String) #

[View source]
def get_info(key : String) #

[View source]
def get_info!(key : String) #

[View source]
def keys(pattern : String = ">") #

[View source]
def name : String #

[View source]
def put(key : String, value : IO, *, description : String | Nil = nil, headers : Headers = Headers.new, chunk_size : Int = DEFAULT_CHUNK_SIZE) #

[View source]
def put(key : String, value : String | Bytes, **kwargs) #

[View source]
def stream_name : String #

[View source]