haskell-admin-1.0.0.0: Remote Management Platform for Haskell Applications
Safe HaskellNone
LanguageHaskell2010

Admin

Synopsis

Documentation

admin :: Components components names api => [ByteString] -> components -> Application Source #

Create WAI application containing the Haskell Admin server based on the provided Components and authentication tokens

with :: forall a (names :: [Symbol]) apis (name :: Symbol) api. Components a names apis => Component name api -> a -> ComponentList (name ': names) ((name :> api) :<|> apis) infixr 9 #

Compose Components

This function combines a Component with another Component, or with a ComponentList, producing a ComponentList.

It collects the names of the components, and keeps the expected API structure.

Usage: >>> componentA with componentB with componentC