cardano-api-1.36.0
Safe HaskellNone
LanguageHaskell2010

Cardano.Api.Environment

Synopsis

Documentation

newtype EnvSocketError Source #

Constructors

CliEnvVarLookup Text 

Instances

Instances details
Show EnvSocketError Source # 
Instance details

Defined in Cardano.Api.Environment

newtype SocketPath Source #

Constructors

SocketPath 

Instances

Instances details
Eq SocketPath Source # 
Instance details

Defined in Cardano.Api.Environment

Ord SocketPath Source # 
Instance details

Defined in Cardano.Api.Environment

Show SocketPath Source # 
Instance details

Defined in Cardano.Api.Environment

FromJSON SocketPath Source # 
Instance details

Defined in Cardano.Api.Environment

Methods

parseJSON ∷ Value → Parser SocketPath #

parseJSONList ∷ Value → Parser [SocketPath] #

readEnvSocketPathIO (Either EnvSocketError SocketPath) Source #

Read the node socket path from the environment. Fails if the environment variable is not set.