- run :: Application -> IO ()
- runWithConfig :: ServerConf -> Application -> IO ()
- data ServerConf = ServerConf {
- port :: Int
- serverName :: String
Documentation
run :: Application -> IO ()Source
runWithConfig :: ServerConf -> Application -> IO ()Source
data ServerConf Source
this won't change the port or servername for hyena, use ./main -p 3000 to configure port this just make sure port and serverName are presented in Env
ServerConf | |
|