Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
Instances
ToJSON Session # | |
Defined in Butler.Display.Session | |
Generic Session # | |
Eq Session # | |
type Rep Session # | |
Defined in Butler.Display.Session type Rep Session = D1 ('MetaData "Session" "Butler.Display.Session" "butler-0.0.1.0-inplace" 'False) (C1 ('MetaCons "Session" 'PrefixI 'True) (S1 ('MetaSel ('Just "sessionID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SessionID) :*: S1 ('MetaSel ('Just "username") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (TVar UserName)))) |
withSessions :: (Sessions -> ProcessIO a) -> ProcessIO a #
deleteInvite :: Sessions -> InviteID -> STM () #
deleteSession :: Sessions -> SessionID -> ProcessIO () #
isEmptySessions :: Sessions -> STM Bool #
Instances
FromJSON UserName # | |
ToJSON UserName # | |
Defined in Butler.Display.User | |
IsString UserName # | |
Defined in Butler.Display.User fromString :: String -> UserName # | |
Generic UserName # | |
Show UserName # | |
Eq UserName # | |
Ord UserName # | |
Defined in Butler.Display.User | |
FromHttpApiData UserName # | |
Defined in Butler.Display.User parseUrlPiece :: Text -> Either Text UserName # parseHeader :: ByteString -> Either Text UserName # | |
ToHtml UserName # | |
Serialise UserName # | |
From UserName Text # | |
Defined in Butler.Display.User | |
type Rep UserName # | |
Defined in Butler.Display.User |
isValidUserName :: Text -> Maybe UserName #
Instances
FromJSON SessionID # | |
ToJSON SessionID # | |
Defined in Butler.Display.Session | |
Generic SessionID # | |
Show SessionID # | |
Eq SessionID # | |
Ord SessionID # | |
Defined in Butler.Display.Session | |
Hashable SessionID # | |
Defined in Butler.Display.Session | |
FromHttpApiData SessionID # | |
Defined in Butler.Display.Session parseUrlPiece :: Text -> Either Text SessionID # parseHeader :: ByteString -> Either Text SessionID # | |
ToHtml SessionID # | |
Serialise SessionID # | |
FromJWT SessionID # | |
ToJWT SessionID # | |
Defined in Butler.Display.Session | |
From SessionID StorageAddress # | |
Defined in Butler.Display.Session from :: SessionID -> StorageAddress # | |
From SessionID Text # | |
Defined in Butler.Display.Session | |
type Rep SessionID # | |
Defined in Butler.Display.Session |
Instances
FromJSON InviteID # | |
ToJSON InviteID # | |
Defined in Butler.Display.Session | |
IsString InviteID # | |
Defined in Butler.Display.Session fromString :: String -> InviteID # | |
Generic InviteID # | |
Show InviteID # | |
Eq InviteID # | |
Ord InviteID # | |
Defined in Butler.Display.Session | |
FromHttpApiData InviteID # | |
Defined in Butler.Display.Session parseUrlPiece :: Text -> Either Text InviteID # parseHeader :: ByteString -> Either Text InviteID # | |
ToHtml InviteID # | |
Serialise InviteID # | |
type Rep InviteID # | |
Defined in Butler.Display.Session |