glirc-2.13: Console IRC client

Copyright(c) Eric Mertens, 2016
LicenseISC
Maintaineremertens@gmail.com
Safe HaskellNone
LanguageHaskell2010

Client.Configuration

Contents

Description

This module defines the top-level configuration information for the client.

Synopsis

Configuration type

data Configuration Source #

Top-level client configuration information. When connecting to a server configuration from _configServers is used where possible, otherwise _configDefaults is used.

Constructors

Configuration 

Fields

Loading configuration

loadConfiguration Source #

Arguments

:: Maybe FilePath

path to configuration file

-> IO (Either ConfigurationFailure Configuration) 

Load the configuration file defaulting to ~.glircconfig.

Resolving paths

resolveConfigurationPath :: FilePath -> IO FilePath Source #

Resolve relative paths starting at the home directory rather than the current directory of the client.