Paste server written in Haskell. Fork of Hpaste, fully freedom and privacy respecting and generally improved. At the time of writing there's an instance at <http://paste.rel4tion.org>.
Clone
HTTPS:
git clone https://vervis.peers.community/repos/aoqmo
SSH:
git clone USERNAME@vervis.peers.community:aoqmo
Branches
Tags
Announcer.hs
module Hpaste.Types.Announcer where
import Control.Concurrent
import Data.Text
-- | Announcer configuration.
data AnnounceConfig = AnnounceConfig {
announceUser :: String
, announcePass :: String
, announceHost :: String
, announcePort :: Int
} deriving (Show)
-- | An announcer.
data Announcer = Announcer
{ annChan :: Chan Announcement
, annConfig :: AnnounceConfig
}
-- | An annoucement.
data Announcement = Announcement
{ annFrom :: Text
, annContent :: Text
}
|