yesod-session-persist-0.0.0.2: SQL session backend for Yesod
Safe HaskellSafe-Inferred
LanguageGHC2021

Session.Timing.Time

Synopsis

Documentation

data Time a Source #

Creation and access times, used to determine session expiration

Constructors

Time 

Fields

  • created :: a

    When the session was created

    This is used to apply the absolute timeout.

  • accessed :: a

    When the session was last accessed

    This is used to apply the idle timeout.

Instances

Instances details
Show a => Show (Time a) Source # 
Instance details

Defined in Session.Timing.Time

Methods

showsPrec :: Int -> Time a -> ShowS #

show :: Time a -> String #

showList :: [Time a] -> ShowS #

Eq a => Eq (Time a) Source # 
Instance details

Defined in Session.Timing.Time

Methods

(==) :: Time a -> Time a -> Bool #

(/=) :: Time a -> Time a -> Bool #