conferer-warp-0.1.0.2: conferer's FromConfig instances for warp settings

Safe HaskellNone
LanguageHaskell2010

Conferer.FetchFromConfig.Warp

Contents

Synopsis

    How to use this

    FetchFromConfig instance for warp server settings

    import Conferer
    import Conferer.FetchFromConfig.Warp ()
    
    main = do
      config <- defaultConfig "awesomeapp"
      warpSettings <- getFromConfig "warp" config
    

    Orphan instances

    FetchFromConfig HostPreference Source # 
    Instance details

    FetchFromConfig Settings Source # 
    Instance details

    Methods

    fetch :: Key -> Config -> IO (Either Text Settings) #