class Kemal::Session::MemoryEngine::StorageInstance

Included Modules

Defined in:

kemal-session/engines/memory.cr

Constructors

Instance Method Summary

Macro Summary

Constructor Detail

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

[View source]
def self.new(id : String) #

[View source]

Instance Method Detail

def bigint(k : String, v : Int64) #

[View source]
def bigint(k : String) : Int64 #

[View source]
def bigint?(k : String) : Int64 | Nil #

[View source]
def bigints : Hash(String, Int64) #

def bool(k : String, v : Bool) #

[View source]
def bool(k : String) : Bool #

[View source]
def bool?(k : String) : Bool | Nil #

[View source]
def bools : Hash(String, Bool) #

def delete_bigint(k : String) #

[View source]
def delete_bool(k : String) #

[View source]
def delete_float(k : String) #

[View source]
def delete_int(k : String) #

[View source]
def delete_object(k : String) #

[View source]
def delete_string(k : String) #

[View source]
def float(k : String, v : Float64) #

[View source]
def float(k : String) : Float64 #

[View source]
def float?(k : String) : Float64 | Nil #

[View source]
def floats : Hash(String, Float64) #

def id : String #

def id? : String | Nil #

def int(k : String, v : Int32) #

[View source]
def int(k : String) : Int32 #

[View source]
def int?(k : String) : Int32 | Nil #

[View source]
def ints : Hash(String, Int32) #

def last_access_at : Int64 #

def last_access_at=(last_access_at : Int64) #

def last_access_at? : Int64 | Nil #


[View source]

[View source]

[View source]
def objects : Hash(String, Nil) #

def string(k : String, v : String) #

[View source]
def string(k : String) : String #

[View source]
def string?(k : String) : String | Nil #

[View source]
def strings : Hash(String, String) #

Macro Detail

macro define_storage(vars) #

[View source]