packages feed

micro-gateway-1.1.0.0: micro-gateway.cabal

name:                micro-gateway
version:             1.1.0.0
synopsis:            A Micro service gateway.
description:         A Micro service gateway. Support http, and websockets reverse proxy.
homepage:            https://github.com/Lupino/micro-gateway#readme
license:             BSD3
license-file:        LICENSE
author:              Li Meng Jun
maintainer:          lmjubuntu@gmail.com
copyright:           MIT
category:            Gateway,Network,Cloud,Faas,Saas
build-type:          Simple
extra-source-files:  README.md
cabal-version:       >=1.10

library
  hs-source-dirs:      src
  exposed-modules:     Micro.Gateway
                     , Micro.Gateway.Utils
                     , Micro.Gateway.Types
  build-depends:       base >= 4.7 && < 5
                     , containers
                     , time
                     , text
                     , scotty
                     , signature
                     , bytestring
                     , http-types
                     , aeson
                     , unix-time
                     , wai
                     , unordered-containers
                     , http-client
                     , case-insensitive
                     , hslogger
                     , websockets
                     , stm
                     , cookie
                     , binary
  default-language:    Haskell2010

executable simple-gateway
  hs-source-dirs:      app
  main-is:             Main.hs
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  build-depends:       base
                     , micro-gateway
                     , scotty
                     , wai-cors
                     , optparse-applicative
                     , aeson
                     , yaml
                     , bytestring
                     , http-client
                     , data-default-class
                     , streaming-commons
                     , warp
                     , network-uri
                     , wai-websockets
                     , websockets
                     , text
  default-language:    Haskell2010

source-repository head
  type:     git
  location: https://github.com/Lupino/micro-gateway