renamed project to gemcap
It was brought to my attention that there is a rust package named gemserv. I changed the name to avoid any potential confusion.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{-|
|
||||
|
||||
Module : Network.GemServ
|
||||
Description : Gemini Server Stuff
|
||||
Module : Network.Gemini.Capsule
|
||||
Description : Gemini capsule stuff
|
||||
Copyright : (C) Jonathan Lamothe
|
||||
License : AGPL-3.0-or-later
|
||||
Maintainer : jonathan@jlamothe.net
|
||||
@@ -30,7 +30,7 @@ License along with this program. If not, see
|
||||
ScopedTypeVariables,
|
||||
RecordWildCards #-}
|
||||
|
||||
module Network.GemServ (
|
||||
module Network.Gemini.Capsule (
|
||||
-- * Running a Gemini Server
|
||||
runGemServer,
|
||||
-- * Encoding/Decoding Functions
|
||||
@@ -61,8 +61,8 @@ import Network.TLS (ServerParams, onClientCertificate, serverHooks)
|
||||
import System.IO.Streams.TCP (bindAndListen)
|
||||
import System.IO.Streams.TLS (accept)
|
||||
|
||||
import Network.GemServ.Internal
|
||||
import Network.GemServ.Types
|
||||
import Network.Gemini.Capsule.Internal
|
||||
import Network.Gemini.Capsule.Types
|
||||
|
||||
-- | Builds and runs a Gemini server
|
||||
runGemServer
|
||||
@@ -1,6 +1,6 @@
|
||||
{-|
|
||||
|
||||
Module : Network.GemServ.Internal
|
||||
Module : Network.Gemini.Capsule.Internal
|
||||
Description : internal functions (do not use)
|
||||
Copyright : (C) Jonathan Lamothe
|
||||
License : AGPL-3.0-or-later
|
||||
@@ -30,14 +30,14 @@ time.
|
||||
|
||||
-}
|
||||
|
||||
module Network.GemServ.Internal (
|
||||
module Network.Gemini.Capsule.Internal (
|
||||
readURL,
|
||||
sendResponse
|
||||
) where
|
||||
|
||||
import Data.Connection (Connection)
|
||||
|
||||
import Network.GemServ.Types
|
||||
import Network.Gemini.Capsule.Types
|
||||
|
||||
-- | Reads a 'GemURL' from a 'Connection'
|
||||
readURL
|
||||
@@ -1,7 +1,7 @@
|
||||
{-|
|
||||
|
||||
Module : Network.GemServ.Types
|
||||
Description : Gemini Server Types
|
||||
Module : Network.Gemini.Capsule.Types
|
||||
Description : Gemini capsule types
|
||||
Copyright : (C) Jonathan Lamothe
|
||||
License : AGPL-3.0-or-later
|
||||
Maintainer : jonathan@jlamothe.net
|
||||
@@ -24,7 +24,7 @@ License along with this program. If not, see
|
||||
|
||||
-}
|
||||
|
||||
module Network.GemServ.Types (
|
||||
module Network.Gemini.Capsule.Types (
|
||||
-- * Types
|
||||
GemURL (..),
|
||||
GemRequest (..),
|
||||
Reference in New Issue
Block a user