2014-12-10 16:10:57 +01:00
|
|
|
module Servant (
|
|
|
|
-- | This module and its submodules can be used to define servant APIs. Note
|
|
|
|
-- that these API definitions don't directly implement a server (or anything
|
|
|
|
-- else).
|
|
|
|
module Servant.API,
|
|
|
|
-- | For implementing servers for servant APIs.
|
|
|
|
module Servant.Server,
|
|
|
|
-- | Utilities on top of the servant core
|
2018-06-25 00:36:20 +02:00
|
|
|
module Servant.Links,
|
2018-07-05 12:15:30 +02:00
|
|
|
module Servant.Server.StaticFiles,
|
2014-12-10 16:10:57 +01:00
|
|
|
-- | Useful re-exports
|
|
|
|
Proxy(..),
|
2016-04-08 21:06:44 +02:00
|
|
|
throwError
|
2014-12-10 16:10:57 +01:00
|
|
|
) where
|
|
|
|
|
2018-06-29 21:08:26 +02:00
|
|
|
import Control.Monad.Error.Class
|
|
|
|
(throwError)
|
2015-08-17 23:56:29 +02:00
|
|
|
import Data.Proxy
|
|
|
|
import Servant.API
|
2018-06-25 00:36:20 +02:00
|
|
|
import Servant.Links
|
2018-06-29 21:08:26 +02:00
|
|
|
import Servant.Server
|
2018-07-05 12:15:30 +02:00
|
|
|
import Servant.Server.StaticFiles
|