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

Safe HaskellNone
LanguageHaskell2010

Tonatona.Google

Synopsis

Documentation

run Source #

Arguments

:: HasConfig env Config 
=> (ClientError -> 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 ClientError #

A type representing possible errors in a request

Note that this type substantially changed in 0.12.

Instances
Eq ClientError 
Instance details

Defined in Servant.Client.Core.ClientError

Show ClientError 
Instance details

Defined in Servant.Client.Core.ClientError

Generic ClientError 
Instance details

Defined in Servant.Client.Core.ClientError

Associated Types

type Rep ClientError :: Type -> Type #

Exception ClientError 
Instance details

Defined in Servant.Client.Core.ClientError

NFData ClientError

Note: an exception in ConnectionError might not be evaluated fully, We only rnf its showed value.

Instance details

Defined in Servant.Client.Core.ClientError

Methods

rnf :: ClientError -> () #

MonadError ClientError ClientM 
Instance details

Defined in Servant.Client.Internal.HttpClient

type Rep ClientError 
Instance details

Defined in Servant.Client.Core.ClientError

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 #