tonatona-google-server-api-0.1.1.0: tonatona plugin for google-server-api

Safe HaskellNone
LanguageHaskell2010

Tonatona.Google

Synopsis

Documentation

run Source #

Arguments

:: HasConfig env Config 
=> (ServantError -> RIO env a)

Error handler

-> [Scope] 
-> Dsl env a 
-> RIO env a 

Main function.

type Dsl env = ReaderT DslBackend (RIO env) Source #

data Config Source #

Instances
HasParser Config Source # 
Instance details

Defined in Tonatona.Google

Methods

parser :: Parser Config #

data ServantError #

A type representing possible errors in a request

Note that this type substantially changed in 0.12.

Instances
Eq ServantError 
Instance details

Defined in Servant.Client.Core.Internal.Request

Show ServantError 
Instance details

Defined in Servant.Client.Core.Internal.Request

Generic ServantError 
Instance details

Defined in Servant.Client.Core.Internal.Request

Associated Types

type Rep ServantError :: Type -> Type #

Exception ServantError 
Instance details

Defined in Servant.Client.Core.Internal.Request

NFData ServantError 
Instance details

Defined in Servant.Client.Core.Internal.Request

Methods

rnf :: ServantError -> () #

MonadError ServantError ClientM 
Instance details

Defined in Servant.Client.Internal.HttpClient

type Rep ServantError 
Instance details

Defined in Servant.Client.Core.Internal.Request

data JWT #

Instances
Eq JWT 
Instance details

Defined in Google.JWT

Methods

(==) :: JWT -> JWT -> Bool #

(/=) :: JWT -> JWT -> Bool #

Read JWT 
Instance details

Defined in Google.JWT

Show JWT 
Instance details

Defined in Google.JWT

Methods

showsPrec :: Int -> JWT -> ShowS #

show :: JWT -> String #

showList :: [JWT] -> ShowS #

HasJWT JWT 
Instance details

Defined in Google.JWT

Methods

getJwt :: JWT -> JWT #

data Scope #

Instances
Eq Scope 
Instance details

Defined in Google.JWT

Methods

(==) :: Scope -> Scope -> Bool #

(/=) :: Scope -> Scope -> Bool #

Ord Scope 
Instance details

Defined in Google.JWT

Methods

compare :: Scope -> Scope -> Ordering #

(<) :: Scope -> Scope -> Bool #

(<=) :: Scope -> Scope -> Bool #

(>) :: Scope -> Scope -> Bool #

(>=) :: Scope -> Scope -> Bool #

max :: Scope -> Scope -> Scope #

min :: Scope -> Scope -> Scope #

Read Scope 
Instance details

Defined in Google.JWT

Show Scope 
Instance details

Defined in Google.JWT

Methods

showsPrec :: Int -> Scope -> ShowS #

show :: Scope -> String #

showList :: [Scope] -> ShowS #