Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
class HasEndpoint a where Source #
getEndpoint :: Proxy a -> Request -> Maybe APIEndpoint Source #
enumerateEndpoints :: Proxy a -> [APIEndpoint] Source #
Instances
data APIEndpoint Source #
APIEndpoint | |
|
Instances
monitorEndpoints :: HasEndpoint api => Proxy api -> Store -> IO Middleware Source #