syncthing-hs-0.1.0.0: Haskell bindings for the Syncthing REST API
Network.Syncthing.Internal.Utils
Synopsis
parseAddr :: Server -> Addr
Parse server string (SERVER:PORT) into an address type.
encodeAddr :: Addr -> Server
Generate server string.
toUTC :: String -> Maybe UTCTime
Convert time string to UTCTime type.
fromUTC :: UTCTime -> String
Generate time string from UTC.