| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Web.Sprinkles.ServerConfig
Documentation
data BackendCacheConfig Source #
Constructors
| FilesystemCache FilePath POSIXTime | |
| MemCache POSIXTime | |
| MemcachedCache |
Instances
| Show BackendCacheConfig Source # | |
Defined in Web.Sprinkles.ServerConfig Methods showsPrec :: Int -> BackendCacheConfig -> ShowS # show :: BackendCacheConfig -> String # showList :: [BackendCacheConfig] -> ShowS # | |
| FromJSON BackendCacheConfig Source # | |
Defined in Web.Sprinkles.ServerConfig Methods parseJSON :: Value -> Parser BackendCacheConfig # parseJSONList :: Value -> Parser [BackendCacheConfig] # | |
data ServerDriver Source #
Constructors
| WarpDriver (Maybe Int) | |
| CGIDriver | |
| SCGIDriver | |
| FastCGIDriver | |
| BakeDriver | |
| DefaultDriver |
Instances
| Eq ServerDriver Source # | |
Defined in Web.Sprinkles.ServerConfig | |
| Read ServerDriver Source # | |
Defined in Web.Sprinkles.ServerConfig Methods readsPrec :: Int -> ReadS ServerDriver # readList :: ReadS [ServerDriver] # | |
| Show ServerDriver Source # | |
Defined in Web.Sprinkles.ServerConfig Methods showsPrec :: Int -> ServerDriver -> ShowS # show :: ServerDriver -> String # showList :: [ServerDriver] -> ShowS # | |
| FromJSON ServerDriver Source # | |
Defined in Web.Sprinkles.ServerConfig | |
| Default ServerDriver Source # | |
Defined in Web.Sprinkles.ServerConfig Methods def :: ServerDriver # | |
data LoggerConfig Source #
Constructors
| DiscardLog | |
| Syslog LogLevel | |
| StdioLog LogLevel |
Instances
| Show LoggerConfig Source # | |
Defined in Web.Sprinkles.ServerConfig Methods showsPrec :: Int -> LoggerConfig -> ShowS # show :: LoggerConfig -> String # showList :: [LoggerConfig] -> ShowS # | |
| FromJSON LoggerConfig Source # | |
Defined in Web.Sprinkles.ServerConfig | |
data SessionExpiration Source #
Constructors
| NeverExpire | |
| SlidingExpiration Integer |
Instances
| Show SessionExpiration Source # | |
Defined in Web.Sprinkles.ServerConfig Methods showsPrec :: Int -> SessionExpiration -> ShowS # show :: SessionExpiration -> String # showList :: [SessionExpiration] -> ShowS # | |
| FromJSON SessionExpiration Source # | |
Defined in Web.Sprinkles.ServerConfig Methods parseJSON :: Value -> Parser SessionExpiration # parseJSONList :: Value -> Parser [SessionExpiration] # | |
data SessionDriver Source #
Constructors
| NoSessionDriver | |
| InProcSessionDriver | |
| SqlSessionDriver DSN |
Instances
| Show SessionDriver Source # | |
Defined in Web.Sprinkles.ServerConfig Methods showsPrec :: Int -> SessionDriver -> ShowS # show :: SessionDriver -> String # showList :: [SessionDriver] -> ShowS # | |
| FromJSON SessionDriver Source # | |
Defined in Web.Sprinkles.ServerConfig Methods parseJSON :: Value -> Parser SessionDriver # parseJSONList :: Value -> Parser [SessionDriver] # | |
data SessionConfig Source #
Constructors
| SessionConfig | |
Fields | |
Instances
| Show SessionConfig Source # | |
Defined in Web.Sprinkles.ServerConfig Methods showsPrec :: Int -> SessionConfig -> ShowS # show :: SessionConfig -> String # showList :: [SessionConfig] -> ShowS # | |
| FromJSON SessionConfig Source # | |
Defined in Web.Sprinkles.ServerConfig Methods parseJSON :: Value -> Parser SessionConfig # parseJSONList :: Value -> Parser [SessionConfig] # | |
| Default SessionConfig Source # | |
Defined in Web.Sprinkles.ServerConfig Methods def :: SessionConfig # | |
data ServerConfig Source #
Constructors
| ServerConfig | |
Fields | |
Instances
| Show ServerConfig Source # | |
Defined in Web.Sprinkles.ServerConfig Methods showsPrec :: Int -> ServerConfig -> ShowS # show :: ServerConfig -> String # showList :: [ServerConfig] -> ShowS # | |
| Semigroup ServerConfig Source # | |
Defined in Web.Sprinkles.ServerConfig Methods (<>) :: ServerConfig -> ServerConfig -> ServerConfig # sconcat :: NonEmpty ServerConfig -> ServerConfig # stimes :: Integral b => b -> ServerConfig -> ServerConfig # | |
| Monoid ServerConfig Source # | |
Defined in Web.Sprinkles.ServerConfig Methods mempty :: ServerConfig # mappend :: ServerConfig -> ServerConfig -> ServerConfig # mconcat :: [ServerConfig] -> ServerConfig # | |
| FromJSON ServerConfig Source # | |
Defined in Web.Sprinkles.ServerConfig | |
| Default ServerConfig Source # | |
Defined in Web.Sprinkles.ServerConfig Methods def :: ServerConfig # | |
scAppend :: ServerConfig -> ServerConfig -> ServerConfig Source #
firstNonNull :: [a] -> [a] -> [a] Source #