btc-lsp-0.1.0.0: Lightning service provider
Safe HaskellSafe-Inferred
LanguageHaskell2010

BtcLsp.Yesod.Settings

Description

Settings are centralized, as much as possible, into this file. This includes database connection settings, static file locations, etc. In addition, you can configure a number of different aspects of Yesod by overriding methods in the Yesod typeclass. That instance is declared in the Foundation.hs file.

Synopsis

Documentation

data AppSettings Source #

Runtime settings to configure this application. These settings can be loaded from various sources: defaults, environment variables, config files, theoretically even a database.

Constructors

AppSettings 

Fields

Instances

Instances details
FromJSON AppSettings Source # 
Instance details

Defined in BtcLsp.Yesod.Settings

widgetFileSettings :: WidgetFileSettings Source #

Settings for widgetFile, such as which template languages to support and default Hamlet settings.

For more information on modifying behavior, see:

https://github.com/yesodweb/yesod/wiki/Overriding-widgetFile

combineSettings :: CombineSettings Source #

How static files should be combined.

configSettingsYmlBS :: ByteString Source #

Raw bytes at compile time of config/settings.yml

configSettingsYmlValue :: Value Source #

config/settings.yml, parsed to a Value.

compileTimeAppSettings :: AppSettings Source #

A version of AppSettings parsed at compile time from config/settings.yml.