Safe Haskell | None |
---|---|
Language | Haskell2010 |
Types for common servics
Synopsis
- data URLVersion = URLVersion { }
- newtype Healthy = Healthy { }
- newtype ServerTime = ServerTime { }
- data Metric = Metric { }
Documentation
data URLVersion Source #
Root endpoint reply
Instances
Health endpoint reply
newtype ServerTime Source #
Health clock endpoint reply
Instances
Metrics response
Instances
Eq Metric Source # | |
Show Metric Source # | |
Generic Metric Source # | |
ToJSON Metric Source # | |
FromJSON Metric Source # | |
ToSample Metric Source # | |
ToJSON ( Text , Metric ) Source # | |
FromJSON ( Text , Metric ) Source # | |
ToSample ( Text , Metric ) Source # | |
type Rep Metric Source # | |
Defined in Blockfrost.Types.Common
type
Rep
Metric
=
D1
('
MetaData
"Metric" "Blockfrost.Types.Common" "blockfrost-api-0.4.0.1-A9W5au7R2kOUA8M8hTMe9" '
False
) (
C1
('
MetaCons
"Metric" '
PrefixI
'
True
) (
S1
('
MetaSel
('
Just
"_metricTime") '
NoSourceUnpackedness
'
NoSourceStrictness
'
DecidedLazy
) (
Rec0
POSIXTime
)
:*:
S1
('
MetaSel
('
Just
"_metricCalls") '
NoSourceUnpackedness
'
NoSourceStrictness
'
DecidedLazy
) (
Rec0
Integer
)))
|